Use my_vsnprintf instead of vsnprintf

parent 410939b6
...@@ -936,7 +936,7 @@ void log_msg(const char *fmt, ...) ...@@ -936,7 +936,7 @@ void log_msg(const char *fmt, ...)
memset(buff, 0, sizeof(buff)); memset(buff, 0, sizeof(buff));
va_start(args, fmt); va_start(args, fmt);
len= vsnprintf(buff, sizeof(buff)-1, fmt, args); len= my_vsnprintf(buff, sizeof(buff)-1, fmt, args);
va_end(args); va_end(args);
dynstr_append_mem(&ds_res, buff, len); dynstr_append_mem(&ds_res, buff, len);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment