summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2018-06-16 14:45:40 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2018-06-26 12:02:27 +0100
commitdd0b893238d03a9bb38e793f3d935272ed73da6d (patch)
tree600e17bc2b2d1518aa8d66772cc7ca7ad8e24eb7
parente443f67259e2850cf5508b6d5658f6ede47f130b (diff)
Revert "Do not use shutdown() when talking to rspamd. Fixes 1802"
This reverts commit 416a0be6df0697848ca551dd3243b652e763792d.
-rw-r--r--src/src/spam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/spam.c b/src/src/spam.c
index c9b3a02df..95e5fc077 100644
--- a/src/src/spam.c
+++ b/src/src/spam.c
@@ -493,7 +493,7 @@ if (ferror(mbox_file))
/* we're done sending, close socket for writing */
if (!sd->is_rspamd)
- shutdown(spamd_cctx.sock,SHUT_WR);
+ shutdown(spamd_cctx.sock, SHUT_WR);
/* read spamd response using what's left of the timeout. */
memset(spamd_buffer, 0, sizeof(spamd_buffer));