mirror of
https://github.com/curl/curl.git
synced 2025-02-23 15:10:03 +08:00
we should be using start here.
This commit is contained in:
parent
9e5dfc15ac
commit
321ba15a82
@ -43,7 +43,7 @@ Curl_strtok_r(char *ptr, const char *sep, char **end)
|
||||
char *start = ptr;
|
||||
|
||||
/* set the end pointer to the first byte after the start */
|
||||
*end = ptr + 1;
|
||||
*end = start + 1;
|
||||
|
||||
/* scan through the string to find where it ends, it ends on a
|
||||
null byte or a character that exists in the separator string */
|
||||
|
Loading…
Reference in New Issue
Block a user