ZOOM: generate event Connect rather than None
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 10 Mar 2014 13:23:39 +0000 (14:23 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 10 Mar 2014 13:23:39 +0000 (14:23 +0100)
for partial connect (in fact getaddrinfo resolving).

src/zoom-c.c

index e7f25c2..d2b2be9 100644 (file)
@@ -1960,7 +1960,7 @@ static void ZOOM_connection_do_io(ZOOM_connection c, int mask)
             if (c->cs->io_pending & CS_WANT_READ)
                 mask += ZOOM_SELECT_READ;
             ZOOM_connection_set_mask(c, mask);
-            event = ZOOM_Event_create(ZOOM_EVENT_NONE);
+            event = ZOOM_Event_create(ZOOM_EVENT_CONNECT);
             ZOOM_connection_put_event(c, event);
         }
         else if (ret == 0)