Fix connection_is_idle test for idleness
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 12 Mar 2010 15:24:01 +0000 (16:24 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 12 Mar 2010 15:24:01 +0000 (16:24 +0100)
commit70d61c514058eb5e6da0c8b2f436e89ea7d20b1d
tree15eb0b737cabc9b1e28be36cba9f42ca692cf90f
parent098b558355b375d17f6fff413b836b2ae8438e65
Fix connection_is_idle test for idleness

Function connection_is_idle no longer returns 1 (idle) if
ZOOM_connection_peek_event returns ZOOM_EVENT_END. The problem is that
when this is returned another thread may still be chewing on a record.
src/connection.c