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");
"\r\nX-Spam-Status: %s, score=%s required=%s\r\n",
sastatus, sascore, saoutof);
- CM_PrependToField(msg, eMesageText, buf, headerlen);
+ CM_PrependToField(msg, eMessageText, buf, headerlen);
}
else {