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:
iceman1001 committed 2014-11-27 22:16:17 +01:00
1 parent 95e635947b
commit 06b58a94f0
5 files changed
+35 -46

No files matched your search

-1
View File
@@ -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);