diff options
Diffstat (limited to 'lib/dict.c')
-rw-r--r-- | lib/dict.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dict.c b/lib/dict.c index acf7ef689..223eddc0e 100644 --- a/lib/dict.c +++ b/lib/dict.c @@ -182,7 +182,7 @@ static CURLcode dict_do(struct connectdata *conn, bool *done) *strategy++ = (char)0; nthdef = strchr(strategy, ':'); if(nthdef) { - *nthdef++ = (char)0; + *nthdef = (char)0; } } } @@ -238,7 +238,7 @@ static CURLcode dict_do(struct connectdata *conn, bool *done) *database++ = (char)0; nthdef = strchr(database, ':'); if(nthdef) { - *nthdef++ = (char)0; + *nthdef = (char)0; } } } |