summaryrefslogtreecommitdiff
blob: 1c782fd61e5d80803bbd2ac35d4c04ef11448b12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/main.c.old	2015-10-19 17:25:07.549164652 +0200
+++ src/main.c	2015-10-19 17:25:33.106694706 +0200
@@ -227,7 +227,7 @@
     for (i = 0; core_team[i].name; i++) {
         n += strlen(core_team[i].name);
         if (n > 74) {
-            log_message(LOG_DEFAULT, tmp);
+            log_message(LOG_DEFAULT, "%s", tmp);
             n = 0; *tmp = 0;
         }
         strcat(tmp, core_team[i].name);
@@ -235,7 +235,7 @@
             strcat(tmp, ", ");
         } else {
             strcat(tmp, ".");
-            log_message(LOG_DEFAULT, tmp);
+            log_message(LOG_DEFAULT, "%s", tmp);
         }
     }
     lib_free(tmp);