mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
another small comment fix
This commit is contained in:
parent
87de31f968
commit
a00e872560
@ -2044,7 +2044,7 @@ robj **moduleCreateArgvFromUserFormat(const char *cmdname, const char *fmt, int
|
||||
long ll = va_arg(ap,long long);
|
||||
argv[argc++] = createStringObjectFromLongLong(ll);
|
||||
} else if (*p == 'v') {
|
||||
/* a vector of strings */
|
||||
/* A vector of strings */
|
||||
robj **v = va_arg(ap, void*);
|
||||
size_t vlen = va_arg(ap, size_t);
|
||||
|
||||
@ -2053,6 +2053,7 @@ robj **moduleCreateArgvFromUserFormat(const char *cmdname, const char *fmt, int
|
||||
* one element in argv for the vector already */
|
||||
argv_size += vlen-1;
|
||||
argv = zrealloc(argv,sizeof(robj*)*argv_size);
|
||||
|
||||
size_t i = 0;
|
||||
for (i = 0; i < vlen; i++) {
|
||||
incrRefCount(v[i]);
|
||||
|
Loading…
Reference in New Issue
Block a user