mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
core-util: Fix description of pa_split()
Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
This commit is contained in:
parent
a199b9045e
commit
6b7b70c472
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue