aboutsummaryrefslogtreecommitdiffstats
path: root/src/string
diff options
context:
space:
mode:
Diffstat (limited to 'src/string')
-rw-r--r--src/string/strtok.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string/strtok.c b/src/string/strtok.c
index 1520431..0ccd516 100644
--- a/src/string/strtok.c
+++ b/src/string/strtok.c
@@ -101,7 +101,7 @@ char* strsep(char** restrict string, const char* restrict delimiters)
if (r == NULL)
return NULL;
- next = stpbrk(r, delimiters);
+ next = strpbrk(r, delimiters);
if (next != NULL)
*next++ = 0;
*string = next;