X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=blobdiff_plain;f=src%2Fmain.c;h=bfccaa04d3b9c808e1a132f070b793eafc2cdd31;hp=e2e82dfd3297c64d1d0c0f22656a663dbe6f0ab6;hb=2d14ba845734a5ab425c1b50439018361ce06b7a;hpb=e05b7087fcded411cc2f73ca5343a0a38f5d6779 diff --git a/src/main.c b/src/main.c index e2e82dfd3..bfccaa04d 100644 --- a/src/main.c +++ b/src/main.c @@ -773,7 +773,7 @@ static guint win32_log_handler_gtk_id; static void win32_print_stdout(const gchar *string) { if (win32_debug_fp) { - fprintf(win32_debug_fp, string); + fprintf(win32_debug_fp, "%s", string); fflush(win32_debug_fp); } } @@ -781,7 +781,7 @@ static void win32_print_stdout(const gchar *string) static void win32_print_stderr(const gchar *string) { if (win32_debug_fp) { - fprintf(win32_debug_fp, string); + fprintf(win32_debug_fp, "%s", string); fflush(win32_debug_fp); } }