BUG: don't try to fix things that ain't broken.. or not. My try for a fix ended up making the PrintAndLog function stop working. Just by calling a fclose.. fixed.
This commit is contained in:
1 parent
95e635947b
commit
06b58a94f0
5 files changed
+35
-46
No files matched your search
@@ -79,7 +79,6 @@ void PrintAndLog(char *fmt, ...)
|
||||
vfprintf(logfile, fmt, argptr2);
|
||||
fprintf(logfile,"\n");
|
||||
fflush(logfile);
|
||||
fclose(logfile); // ICEMAN, this logfile is never closed?!?
|
||||
}
|
||||
va_end(argptr2);
|
||||
|
||||
|
||||
Reference in new issue
Block a user