From: Adam Dickmeiss Date: Fri, 21 May 2010 09:48:54 +0000 (+0200) Subject: Pass -1 as no-socket parameter to iochan_create X-Git-Tag: v1.4.1~7 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=20732053dec011b0d0cfcef2d3ceec595701b54a;p=pazpar2-moved-to-github.git Pass -1 as no-socket parameter to iochan_create --- diff --git a/src/connection.c b/src/connection.c index 1406811..19d0477 100644 --- a/src/connection.c +++ b/src/connection.c @@ -435,7 +435,7 @@ static int connection_connect(struct connection *con, iochan_man_t iochan_man) ZOOM_connection_connect(link, host->ipport, 0); con->link = link; - con->iochan = iochan_create(0, connection_handler, 0, "connection_socket"); + con->iochan = iochan_create(-1, connection_handler, 0, "connection_socket"); con->state = Conn_Connecting; iochan_settimeout(con->iochan, con->operation_timeout); iochan_setdata(con->iochan, con);