From dd0b893238d03a9bb38e793f3d935272ed73da6d Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sat, 16 Jun 2018 14:45:40 +0100 Subject: [PATCH] Revert "Do not use shutdown() when talking to rspamd. Fixes 1802" This reverts commit 416a0be6df0697848ca551dd3243b652e763792d. --- src/src/spam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.30.2