projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Aggregation of remote POP3 accounts is now working.
[citadel.git]
/
citadel
/
modules
/
spam
/
serv_spam.c
diff --git
a/citadel/modules/spam/serv_spam.c
b/citadel/modules/spam/serv_spam.c
index 64ad1f5cba100bdd7d9703c176e19f2422d2c8d9..cdf81557af86511a10eafab7d5ae49dc25bb00b2 100644
(file)
--- a/
citadel/modules/spam/serv_spam.c
+++ b/
citadel/modules/spam/serv_spam.c
@@
-118,14
+118,14
@@
int spam_assassin(struct CtdlMessage *msg) {
/* Response */
lprintf(CTDL_DEBUG, "Awaiting response\n");
/* Response */
lprintf(CTDL_DEBUG, "Awaiting response\n");
- if (sock_get
s(sock,
buf) < 0) {
+ if (sock_get
ln(sock, buf, sizeof
buf) < 0) {
goto bail;
}
lprintf(CTDL_DEBUG, "<%s\n", buf);
if (strncasecmp(buf, "SPAMD", 5)) {
goto bail;
}
goto bail;
}
lprintf(CTDL_DEBUG, "<%s\n", buf);
if (strncasecmp(buf, "SPAMD", 5)) {
goto bail;
}
- if (sock_get
s(sock,
buf) < 0) {
+ if (sock_get
ln(sock, buf, sizeof
buf) < 0) {
goto bail;
}
lprintf(CTDL_DEBUG, "<%s\n", buf);
goto bail;
}
lprintf(CTDL_DEBUG, "<%s\n", buf);