summaryrefslogtreecommitdiff
blob: 06ad28b88365d83c43b33c21414c8376517c6681 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/log.c.old	2005-10-02 03:49:34.495603240 +0200
+++ src/log.c	2005-10-02 03:50:18.064979688 +0200
@@ -183,7 +183,7 @@ void log_flush(void)
 
 	fp=log_open();
 	for(i=0;i<max_log;i++){
-		fprintf(fp,log_str[i]);
+		fprintf(fp,"%s",log_str[i]);
 		free(log_str[i]);
 	}
 	free(log_str);