* Removed the 'protocol' parameter from the sock_connect() function. All we have...
[citadel.git] / citadel / modules / spam / serv_spam.c
index 235b0caa318e1e67b788ffdde885186f64eaa7f2..3473a82d2a36f032e144d7da001b06abd42190d9 100644 (file)
@@ -95,7 +95,7 @@ int spam_assassin(struct CtdlMessage *msg) {
         for (sa=0; sa<num_sahosts; ++sa) {
                 extract_token(buf, sahosts, sa, '|', sizeof buf);
                 CtdlLogPrintf(CTDL_INFO, "Connecting to SpamAssassin at <%s>\n", buf);
-                sock = sock_connect(buf, SPAMASSASSIN_PORT, "tcp");
+                sock = sock_connect(buf, SPAMASSASSIN_PORT);
                 if (sock >= 0) CtdlLogPrintf(CTDL_DEBUG, "Connected!\n");
         }