summaryrefslogtreecommitdiff
blob: ac5d174c0d6fd64e47f2bd08121125c215449d3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- 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;