projects
/
redis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bad7d09
)
Fix parenthesis error on decrementing *argc
author
Pieter Noordhuis
<pcnoordhuis@gmail.com>
Thu, 26 Aug 2010 11:18:19 +0000
(13:18 +0200)
committer
Pieter Noordhuis
<pcnoordhuis@gmail.com>
Thu, 26 Aug 2010 11:18:44 +0000
(13:18 +0200)
src/sds.c
patch
|
blob
|
blame
|
history
diff --git
a/src/sds.c
b/src/sds.c
index d7d23c45a859a7aba07981637d7e25def7df8bf1..a0ebb0591ee17ac9c181a5a89db1a920753227b0 100644
(file)
--- a/
src/sds.c
+++ b/
src/sds.c
@@
-465,7
+465,7
@@
sds *sdssplitargs(char *line, int *argc) {
}
err:
- while(
*argc
--)
+ while(
(*argc)
--)
sdsfree(vector[*argc]);
zfree(vector);
if (current) sdsfree(current);