2007-08-25 [paul] 2.10.0cvs173
[claws.git] / src / common / log.c
index e44b86f2c30e2284844806226460f2d9e42415ec..a3be1a7f07b9f016f409d8bb8700f94dc194d7f3 100644 (file)
@@ -140,7 +140,7 @@ void log_print(LogInstance instance, const gchar *format, ...)
        g_vsnprintf(buf + LOG_TIME_LEN, BUFFSIZE, format, args);
        va_end(args);
 
-       if (debug_get_mode()) fputs(buf, stdout);
+       if (debug_get_mode()) g_printf(buf);
 
        logtext->instance = instance;
        logtext->text = g_strdup(buf);