aboutsummaryrefslogtreecommitdiffstats
path: root/src/wchar/wcstok.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-09-02 18:55:47 +0200
committerMattias Andrée <maandree@operamail.com>2015-09-02 18:55:47 +0200
commit6e5e998f7c9a8fa96458f36021bc4552624d6b04 (patch)
treeba32ca2a367d364eba62a807297205079b6bb7ff /src/wchar/wcstok.c
parentadd div functions (diff)
downloadslibc-6e5e998f7c9a8fa96458f36021bc4552624d6b04.tar.gz
slibc-6e5e998f7c9a8fa96458f36021bc4552624d6b04.tar.bz2
slibc-6e5e998f7c9a8fa96458f36021bc4552624d6b04.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/wchar/wcstok.c')
-rw-r--r--src/wchar/wcstok.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wchar/wcstok.c b/src/wchar/wcstok.c
index 2694dc0..9ca3929 100644
--- a/src/wchar/wcstok.c
+++ b/src/wchar/wcstok.c
@@ -79,7 +79,7 @@ wchar_t* wcssep(wchar_t** restrict string, const wchar_t* restrict delimiters)
if (r == NULL)
return NULL;
- next = wcpbrk(r, delimiters);
+ next = wcrpbrk(r, delimiters);
if (next != NULL)
*next++ = 0;
*string = next;