You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
421 B

--- a/src/libcommon/logger.c
+++ b/src/libcommon/logger.c
@@ -92,9 +92,9 @@
switch (type)
{
- case CONNECT_LOG: status = fprintf(connect_log, text);
+ case CONNECT_LOG: status = fprintf(connect_log, "%s\n", text);
break;
- case ERROR_LOG: status = fprintf(error_log, text);
+ case ERROR_LOG: status = fprintf(error_log, "%s\n", text);
break;
default: // do nothing?
break;