From: Pieter Noordhuis Date: Thu, 26 Aug 2010 11:18:19 +0000 (+0200) Subject: Fix parenthesis error on decrementing *argc X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/2929ca9786e0dd64c656bbd212c35c137ab54fda?hp=-c Fix parenthesis error on decrementing *argc --- 2929ca9786e0dd64c656bbd212c35c137ab54fda diff --git a/src/sds.c b/src/sds.c index d7d23c45..a0ebb059 100644 --- 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);