Spamd: add missing initialiser. Rspamd mode was incorrectly sometimes seen.
authorJeremy Harris <jgh146exb@wizmail.org>
Sat, 6 Jun 2015 18:35:16 +0000 (19:35 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Sat, 6 Jun 2015 18:35:16 +0000 (19:35 +0100)
Reported-by: Andreas Metzler
src/src/spam.c

index 90e3914..ca8d207 100644 (file)
@@ -28,6 +28,7 @@ static int
 spamd_param_init(spamd_address_container *spamd)
 {
 /* default spamd server weight, time and priority value */
+spamd->is_rspamd = FALSE;
 spamd->is_failed = FALSE;
 spamd->weight = SPAMD_WEIGHT;
 spamd->timeout = SPAMD_TIMEOUT;