From: tomaz Date: Sat, 21 Aug 2004 16:42:10 +0000 (+0000) Subject: Close logfile at shutdown. X-Git-Tag: xonotic-v0.1.0preview~5730 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=151c78a4bdcd1c1bf4f0234f446749345bc26a4b;p=xonotic%2Fdarkplaces.git Close logfile at shutdown. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4347 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/console.h b/console.h index 9f415182..19dc08ce 100644 --- a/console.h +++ b/console.h @@ -58,6 +58,7 @@ void Con_DisplayList(const char **list); // log // void Log_Init (void); +void Log_Close (void); void Log_Start (void); // Log_Print and Log_Printf can be used as soon as the FS initialization is done void Log_Print(const char *logfilename, const char *msg); diff --git a/host.c b/host.c index 513afcc8..412f75e9 100644 --- a/host.c +++ b/host.c @@ -949,5 +949,6 @@ void Host_Shutdown(void) } Sys_Shutdown(); + Log_Close (); }