]> git.saurik.com Git - redis.git/commitdiff
Fix parenthesis error on decrementing *argc
authorPieter Noordhuis <pcnoordhuis@gmail.com>
Thu, 26 Aug 2010 11:18:19 +0000 (13:18 +0200)
committerPieter Noordhuis <pcnoordhuis@gmail.com>
Thu, 26 Aug 2010 11:18:44 +0000 (13:18 +0200)
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);