* Removed the 'protocol' parameter from the sock_connect() function. All we have...
[citadel.git] / citadel / modules / smtp / serv_smtp.c
index 3cc6d5e84858de5fe39e494d8c77131e86fbbac8..b6ae6d044f9e0b6f358263aa4dde9046053b7d18 100644 (file)
@@ -1083,7 +1083,7 @@ void smtp_try(const char *key, const char *addr, int *status,
                        strcpy(mx_port, "25");
                }
                CtdlLogPrintf(CTDL_DEBUG, "SMTP client: connecting to %s : %s ...\n", mx_host, mx_port);
-               sock = sock_connect(mx_host, mx_port, "tcp");
+               sock = sock_connect(mx_host, mx_port);
                snprintf(dsn, SIZ, "Could not connect: %s", strerror(errno));
                if (sock >= 0) CtdlLogPrintf(CTDL_DEBUG, "SMTP client: connected!\n");
                if (sock < 0) {