diff options
Diffstat (limited to 'lib/string.c')
-rw-r--r-- | lib/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/string.c b/lib/string.c index 81b531cda..a748d41b4 100644 --- a/lib/string.c +++ b/lib/string.c @@ -250,7 +250,7 @@ char * strsep(char **s, const char * ct) *s = strpbrk( sbegin, ct); if (*s && **s != '\0') - **s++ = '\0'; + *(*s)++ = '\0'; return (sbegin); } #endif |