fix a couple of the obvious ones

This commit is contained in:
DarthArgus
2015-04-02 23:28:52 -05:00
parent e659069f7c
commit 3077d4be40
3 changed files with 7 additions and 1 deletions
@@ -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