mirror of
https://github.com/curl/curl.git
synced 2026-07-15 23:47:16 +03:00
we should be using start here.
This commit is contained in:
parent
9e5dfc15ac
commit
321ba15a82
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue