summaryrefslogtreecommitdiff
path: root/lib/dict.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-06-10 21:26:11 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-06-10 21:26:11 +0000
commit352177090f710fd155d22a79d11f621482c09640 (patch)
tree1c9fea76d87460c04bd7946db2f84534bb8c1f11 /lib/dict.c
parent9d18c0b15658adcdb6743107be0db4745d2b8073 (diff)
downloadgnurl-352177090f710fd155d22a79d11f621482c09640.tar.gz
gnurl-352177090f710fd155d22a79d11f621482c09640.tar.bz2
gnurl-352177090f710fd155d22a79d11f621482c09640.zip
- Fabian Keil ran clang on the (lib)curl code, found a bunch of warnings and
contributed a range of patches to fix them.
Diffstat (limited to 'lib/dict.c')
-rw-r--r--lib/dict.c4
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;
}
}
}