* Removed the 'protocol' parameter from the sock_connect() function. All we have...
[citadel.git] / citadel / modules / network / serv_network.c
index e89f26eec7b78c03e21d0efe98a82a877a0fffd1..964f1611c70bd4dc390776228a0792aa5ff24b48 100644 (file)
@@ -2075,7 +2075,7 @@ void network_poll_node(char *node, char *secret, char *host, char *port) {
        CtdlLogPrintf(CTDL_DEBUG, "network: polling <%s>\n", node);
        CtdlLogPrintf(CTDL_NOTICE, "Connecting to <%s> at %s:%s\n", node, host, port);
 
-       sock = sock_connect(host, port, "tcp");
+       sock = sock_connect(host, port);
        if (sock < 0) {
                CtdlLogPrintf(CTDL_ERR, "Could not connect: %s\n", strerror(errno));
                network_talking_to(node, NTT_REMOVE);