Correct usage of variable arguments

This commit is contained in:
Ying Ruei Liang (KK) 2015-12-09 15:01:25 +08:00
parent 44258a8442
commit 57db16efec

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