Trailing spaces removed from moduleCreateArgvFromUserFormat().

This commit is contained in:
antirez 2016-05-04 16:01:49 +02:00
parent 6250a6b11f
commit ef2b4f6496

View File

@ -2063,14 +2063,14 @@ robj **moduleCreateArgvFromUserFormat(const char *cmdname, const char *fmt, int
/* A vector of strings */
robj **v = va_arg(ap, void*);
size_t vlen = va_arg(ap, size_t);
/* We need to grow argv to hold the vector's elements.
/* We need to grow argv to hold the vector's elements.
* We resize by vector_len-1 elements, because we held
* one element in argv for the vector already */
argv_size += vlen-1;
argv_size += vlen-1;
argv = zrealloc(argv,sizeof(robj*)*argv_size);
size_t i = 0;
size_t i = 0;
for (i = 0; i < vlen; i++) {
incrRefCount(v[i]);
argv[argc++] = v[i];