diff options
author | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2010-08-26 13:18:19 +0200 |
---|---|---|
committer | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2010-08-26 13:18:44 +0200 |
commit | 2929ca9786e0dd64c656bbd212c35c137ab54fda (patch) | |
tree | d95af52ff3e3edef78dab2b13b39babdfa6fc64d | |
parent | bad7d097e95ec0735c41f85b50ace65bec6134ae (diff) | |
download | redis-2929ca9786e0dd64c656bbd212c35c137ab54fda.tar.gz |
Fix parenthesis error on decrementing *argc
-rw-r--r-- | src/sds.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -465,7 +465,7 @@ sds *sdssplitargs(char *line, int *argc) { } err: - while(*argc--) + while((*argc)--) sdsfree(vector[*argc]); zfree(vector); if (current) sdsfree(current); |