summaryrefslogtreecommitdiff
path: root/net-ftp/weex/files/formatstring.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-ftp/weex/files/formatstring.patch')
-rw-r--r--net-ftp/weex/files/formatstring.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-ftp/weex/files/formatstring.patch b/net-ftp/weex/files/formatstring.patch
new file mode 100644
index 000000000000..06ad28b88365
--- /dev/null
+++ b/net-ftp/weex/files/formatstring.patch
@@ -0,0 +1,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);