Skip to content

Commit dd93ab0

Browse files
committed
Missing va_start.
1 parent 120ffee commit dd93ab0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

library.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,8 @@ redis_cmd_format(char **ret, char *format, ...) {
276276
va_list ap;
277277
char *p = format;
278278

279+
va_start(ap, format);
280+
279281
while (*p) {
280282
if (*p == '%') {
281283
switch (*(++p)) {

0 commit comments

Comments
 (0)