aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSterling Hughes <sterling@bumblebury.com>2001-08-26 20:51:16 +0000
committerSterling Hughes <sterling@bumblebury.com>2001-08-26 20:51:16 +0000
commit321ba15a82df0dba12b8f21fa60025c02e3bb998 (patch)
treef719fc2cb401ac38bb3f3ad3156836b02634e391
parent9e5dfc15ac7f7e31bf61bb172fda28da979b8137 (diff)
we should be using start here.
-rw-r--r--lib/strtok.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strtok.c b/lib/strtok.c
index bb740037d..a1525df02 100644
--- a/lib/strtok.c
+++ b/lib/strtok.c
@@ -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 */