From: Jeremy Harris Date: Sat, 16 Jun 2018 13:45:40 +0000 (+0100) Subject: Revert "Do not use shutdown() when talking to rspamd. Fixes 1802" X-Git-Tag: exim-4.92-RC1~157^2~3 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=dd0b893238d03a9bb38e793f3d935272ed73da6d;p=exim.git Revert "Do not use shutdown() when talking to rspamd. Fixes 1802" This reverts commit 416a0be6df0697848ca551dd3243b652e763792d. --- 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));