Fix missing cstuff_sprintf result
This commit is contained in:
@@ -96,6 +96,7 @@ cstuff_vsprintf(char **out, const char *format, va_list args)
|
||||
if (!(s = malloc(result + 1)))
|
||||
return -1;
|
||||
|
||||
*out = s;
|
||||
result = vsnprintf(s, result+1, format, args);
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user