mirror of
https://github.com/SWG-Source/src.git
synced 2026-10-10 02:13:27 -04:00
fix a couple of the obvious ones
This commit is contained in:
@@ -184,7 +184,9 @@ int File::print(const char *format, ...)
|
||||
va_list argptr;
|
||||
va_start(argptr, format);
|
||||
|
||||
return vfprintf(m_fp, format, argptr);
|
||||
int ret = vfprintf(m_fp, format, argptr);
|
||||
|
||||
va_end(argptr);
|
||||
|
||||
return ret;
|
||||
} // File::print
|
||||
|
||||
Reference in New Issue
Block a user