mirror of
https://github.com/fluencelabs/redis
synced 2025-03-31 23:01:03 +00:00
Fix parenthesis error on decrementing *argc
This commit is contained in:
parent
bad7d097e9
commit
2929ca9786
@ -465,7 +465,7 @@ sds *sdssplitargs(char *line, int *argc) {
|
||||
}
|
||||
|
||||
err:
|
||||
while(*argc--)
|
||||
while((*argc)--)
|
||||
sdsfree(vector[*argc]);
|
||||
zfree(vector);
|
||||
if (current) sdsfree(current);
|
||||
|
Loading…
x
Reference in New Issue
Block a user