aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/exim
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-05-15 18:29:58 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-05-15 18:29:58 +0200
commitf34a5a98ae07ff38f90204e59815b46e25b69495 (patch)
tree3eef191746b4348bd32d6476014be3e2cc2bb466 /contrib/exim
parent7957b1cfb9f6d9aa0589ef316059116da4100856 (diff)
downloadrspamd-f34a5a98ae07ff38f90204e59815b46e25b69495.tar.gz
rspamd-f34a5a98ae07ff38f90204e59815b46e25b69495.zip
[Fix] Fix Exim shutdown patch
Diffstat (limited to 'contrib/exim')
-rw-r--r--contrib/exim/shutdown.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/exim/shutdown.patch b/contrib/exim/shutdown.patch
index 39007130f..e8bf8a057 100644
--- a/contrib/exim/shutdown.patch
+++ b/contrib/exim/shutdown.patch
@@ -1,14 +1,14 @@
-diff -ru exim-4.86.orig/src/spam.c exim-4.86/src/spam.c
---- exim-4.86.orig/src/spam.c 2016-04-09 13:54:51.583800284 +0200
-+++ exim-4.86/src/spam.c 2016-04-09 13:55:16.659806242 +0200
-@@ -499,7 +499,9 @@
+--- exim4-4.86.2.orig/src/spam.c
++++ exim4-4.86.2/src/spam.c
+@@ -499,7 +499,10 @@ if (ferror(mbox_file))
(void)fclose(mbox_file);
/* we're done sending, close socket for writing */
-shutdown(spamd_sock,SHUT_WR);
-+if (!is_rspamd) {
++if (!sd->is_rspamd)
++ {
+ shutdown(spamd_sock,SHUT_WR);
-+}
++ }
/* read spamd response using what's left of the timeout. */
memset(spamd_buffer, 0, sizeof(spamd_buffer));