Skip to content
Snippets Groups Projects
Commit 8d52681e authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Added #include <string.h> and removed a silly mistakenly added ,

parent 56f6815d
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,7 @@
#ifndef HAVE_STRTOK_R
#include <stddef.h>
#include <string.h>
char *
Curl_strtok_r(char *ptr, const char *sep, char **end)
......@@ -51,7 +52,7 @@ Curl_strtok_r(char *ptr, const char *sep, char **end)
if (**end) {
/* the end is not a null byte */
**end = '\0';, /* zero terminate it! */
**end = '\0'; /* zero terminate it! */
++*end; /* advance the last pointer to beyond the null byte */
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment