diff options
-rw-r--r-- | hiredis.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -485,6 +485,8 @@ int redisvFormatCommand(char **target, const char *format, va_list ap) { touched = 1; c++; + if (*c == '\0') + break; } c++; } |