projects
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e443f67
)
Revert "Do not use shutdown() when talking to rspamd. Fixes 1802"
author
Jeremy Harris
<jgh146exb@wizmail.org>
Sat, 16 Jun 2018 13:45:40 +0000
(14:45 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Tue, 26 Jun 2018 11:02:27 +0000
(12:02 +0100)
This reverts commit
416a0be6df0697848ca551dd3243b652e763792d
.
src/src/spam.c
patch
|
blob
|
blame
|
history
diff --git
a/src/src/spam.c
b/src/src/spam.c
index c9b3a02dfde010c4162b846d8ae50307f53be306..95e5fc0775ec85aef4a8c9ffdffb4c8105490d1f 100644
(file)
--- 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));