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 90e3914719e786adbd05a792e3e4ed1ead7c5420..ca8d20720a3d897cdb56a802f87f991aac41400a 100644 (file)
@@ -28,6 +28,7 @@ static int
 spamd_param_init(spamd_address_container *spamd)
 {
 /* default spamd server weight, time and priority value */
 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;
 spamd->is_failed = FALSE;
 spamd->weight = SPAMD_WEIGHT;
 spamd->timeout = SPAMD_TIMEOUT;