aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorcebka@lenovo-laptop <cebka@lenovo-laptop>2010-02-27 18:59:05 +0300
committercebka@lenovo-laptop <cebka@lenovo-laptop>2010-02-27 18:59:05 +0300
commit730d2740eb77ff757cbeca6bc56151327cfa1ed0 (patch)
tree109cf0689e286360b78b071348b557e6eac2f8ff /src/plugins
parent246f7ec03f58e7efce2727c9196a4031d45ae5dd (diff)
downloadrspamd-730d2740eb77ff757cbeca6bc56151327cfa1ed0.tar.gz
rspamd-730d2740eb77ff757cbeca6bc56151327cfa1ed0.zip
* Fix cores in spf code (partially)
* Add support for spf 2.0 (Sender ID policy) * Add support of MAP_NOCORE to systems that supports it (FreeBSD for example)
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/fuzzy_check.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c
index 40b1aaa79..0b5c43a57 100644
--- a/src/plugins/fuzzy_check.c
+++ b/src/plugins/fuzzy_check.c
@@ -246,6 +246,7 @@ fuzzy_io_callback (int fd, short what, void *arg)
if (what == EV_WRITE) {
/* Send command to storage */
cmd.blocksize = session->h->block_size;
+ cmd.value = 0;
memcpy (cmd.hash, session->h->hash_pipe, sizeof (cmd.hash));
cmd.cmd = FUZZY_CHECK;
if (write (fd, &cmd, sizeof (struct fuzzy_cmd)) == -1) {