FreeStrBuf(&msgtext);
// Close one end of the socket connection; this tells SpamAssassin that we're done.
- if (sock != -1)
- sock_shutdown(sock, SHUT_WR);
+ if (sock != -1) {
+ shutdown(sock, SHUT_WR);
+ }
// Response
syslog(LOG_DEBUG, "Awaiting response\n");