From 6b7b70c47298bf76d4509e85658b37c2b1f67378 Mon Sep 17 00:00:00 2001 From: Peter Meerwald-Stadler Date: Tue, 7 Mar 2017 14:53:13 +0100 Subject: [PATCH] core-util: Fix description of pa_split() Signed-off-by: Peter Meerwald-Stadler --- src/pulsecore/core-util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pulsecore/core-util.c b/src/pulsecore/core-util.c index cd1c96d40..d4cfa20c7 100644 --- a/src/pulsecore/core-util.c +++ b/src/pulsecore/core-util.c @@ -1062,7 +1062,7 @@ int pa_parse_volume(const char *v, pa_volume_t *volume) { return 0; } -/* Split the specified string wherever one of the strings in delimiter +/* Split the specified string wherever one of the characters in delimiter * occurs. Each time it is called returns a newly allocated string * with pa_xmalloc(). The variable state points to, should be * initialized to NULL before the first call. */ @@ -1082,7 +1082,7 @@ char *pa_split(const char *c, const char *delimiter, const char**state) { return pa_xstrndup(current, l); } -/* Split the specified string wherever one of the strings in delimiter +/* Split the specified string wherever one of the characters in delimiter * occurs. Each time it is called returns a pointer to the substring within the * string and the length in 'n'. Note that the resultant string cannot be used * as-is without the length parameter, since it is merely pointing to a point