From: Vsevolod Stakhov Date: Fri, 10 Jun 2011 15:23:55 +0000 (+0400) Subject: Write logbuf safely. X-Git-Tag: 0.3.14 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3e498a6d0d4918ebed199c9362355f7b433a4e72;p=rspamd.git Write logbuf safely. --- diff --git a/src/filter.c b/src/filter.c index 753c17952..2c094fda8 100644 --- a/src/filter.c +++ b/src/filter.c @@ -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); } }