Pass -1 as no-socket parameter to iochan_create
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 21 May 2010 09:48:54 +0000 (11:48 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 21 May 2010 09:48:54 +0000 (11:48 +0200)
src/connection.c

index 1406811..19d0477 100644 (file)
@@ -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);