]> source.dussan.org Git - rspamd.git/commitdiff
Write logbuf safely. 0.3.14
authorVsevolod Stakhov <vsevolod@rambler-co.ru>
Fri, 10 Jun 2011 15:23:55 +0000 (19:23 +0400)
committerVsevolod Stakhov <vsevolod@rambler-co.ru>
Fri, 10 Jun 2011 15:23:55 +0000 (19:23 +0400)
src/filter.c

index 753c17952a9ff91958854677adfe8cb97b23e7e2..2c094fda8f21a93ad30e8409216154754a195610 100644 (file)
@@ -461,7 +461,7 @@ composites_foreach_callback (gpointer key, gpointer value, void *data)
                        }
                        /* Add new symbol */
                        insert_result_single (cd->task, key, 1.0, NULL);
-                       msg_info (logbuf);
+                       msg_info ("%s", logbuf);
                }
        }