Avoid lost events (bug #3694)
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 23 Sep 2010 12:28:52 +0000 (14:28 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 23 Sep 2010 12:28:52 +0000 (14:28 +0200)
The ZOOM_connection_insert_task function no longer calls clear_error.
This ensures that events are not lost when a server don't do keepalive.

src/zoom-c.c

index 70769e0..d557015 100644 (file)
@@ -178,7 +178,6 @@ ZOOM_task ZOOM_connection_insert_task(ZOOM_connection c, int which)
 
     task->running = 0;
     task->which = which;
-    clear_error(c);
     return task;
 }