Revert "Do not use shutdown() when talking to rspamd. Fixes 1802"
[exim.git] / src / src / spam.c
index c9b3a02dfde010c4162b846d8ae50307f53be306..95e5fc0775ec85aef4a8c9ffdffb4c8105490d1f 100644 (file)
@@ -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));