/* Response */
CtdlLogPrintf(CTDL_DEBUG, "Awaiting response\n");
- if (sock_getln(sock, buf, sizeof buf) < 0) {
+ if (sock_getln(&sock, buf, sizeof buf) < 0) {
goto bail;
}
CtdlLogPrintf(CTDL_DEBUG, "<%s\n", buf);
if (strncasecmp(buf, "SPAMD", 5)) {
goto bail;
}
- if (sock_getln(sock, buf, sizeof buf) < 0) {
+ if (sock_getln(&sock, buf, sizeof buf) < 0) {
goto bail;
}
CtdlLogPrintf(CTDL_DEBUG, "<%s\n", buf);