Merge pull request #895 from TheKK/Fix_va_list

Correct usage of variable arguments in verbose_log()
This commit is contained in:
David Capello 2015-12-09 10:12:55 -03:00
commit 850bd7ba2f

View File

@ -68,6 +68,7 @@ void verbose_log(const char* format, ...)
fflush(app::log_fileptr);
#ifdef _DEBUG
va_start(ap, format);
vfprintf(stderr, format, ap);
fflush(stderr);
#endif