diff options
Diffstat (limited to 'mysys/my_vsnprintf.c')
-rw-r--r-- | mysys/my_vsnprintf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mysys/my_vsnprintf.c b/mysys/my_vsnprintf.c index b394adf2a96..ac89e3bcf1a 100644 --- a/mysys/my_vsnprintf.c +++ b/mysys/my_vsnprintf.c @@ -35,6 +35,7 @@ int my_vsnprintf(char *to, size_t n, const char* fmt, va_list ap) continue; } /* Skipp if max size is used (to be compatible with printf) */ + fmt++; while (isdigit(*fmt) || *fmt == '.' || *fmt == '-') fmt++; if (*fmt == 's') /* String parameter */ |