[exim-cvs] Revert "Do not use shutdown() when talking to rsp…

Inizio della pagina
Delete this message
Reply to this message
Autore: Exim Git Commits Mailing List
Data:  
To: exim-cvs
Oggetto: [exim-cvs] Revert "Do not use shutdown() when talking to rspamd. Fixes 1802"
Gitweb: https://git.exim.org/exim.git/commitdiff/dd0b893238d03a9bb38e793f3d935272ed73da6d
Commit:     dd0b893238d03a9bb38e793f3d935272ed73da6d
Parent:     e443f67259e2850cf5508b6d5658f6ede47f130b
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sat Jun 16 14:45:40 2018 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Tue Jun 26 12:02:27 2018 +0100


    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 c9b3a02..95e5fc0 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));