]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Oops: another format string
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 15 Aug 2019 14:56:04 +0000 (15:56 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 15 Aug 2019 14:56:04 +0000 (15:56 +0100)
src/libserver/composites.c

index df77c4f072f150c34fdc5c74e9aa775c6538858e..33926f6e5054e020bc0f0e4f170b50cc0e63dc2f 100644 (file)
@@ -272,10 +272,9 @@ rspamd_composite_process_single_symbol (struct composites_data *cd,
                                msg_debug_composites ("symbol %s in composite %s misses required option %s",
                                                sym,
                                                cd->composite->sym,
-                                               ms->score,
-                                               cur_opt->type == RSPAMD_COMPOSITE_OPTION_PLAIN ?
+                                               (cur_opt->type == RSPAMD_COMPOSITE_OPTION_PLAIN ?
                                                  cur_opt->data.match :
-                                                 rspamd_regexp_get_pattern (cur_opt->data.re));
+                                                 rspamd_regexp_get_pattern (cur_opt->data.re)));
                                ms = NULL;
 
                                break;