1
0
mirror of https://github.com/solemnwarning/directplay-lite synced 2024-12-30 16:45:37 +01:00

Fix logging.

This commit is contained in:
Daniel Collins 2018-10-23 22:04:06 +01:00
parent 4b962954ef
commit 8ffad7fbdd

View File

@ -22,7 +22,7 @@ static void _log_init()
const char *log_name = getenv("DPLITE_LOG");
if(log_name != NULL)
{
log_fh = fopen("a", log_name);
log_fh = fopen(log_name, "a");
}
const char *t = getenv("DPLITE_TRACE");