evas/cserve2: return in case of select timeout.

Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
This commit is contained in:
Jean-Philippe Andre 2013-07-01 10:55:46 +09:00 committed by Cedric Bail
parent 79b102f6fd
commit 22e79af097
1 changed files with 5 additions and 0 deletions

View File

@ -385,6 +385,11 @@ _server_dispatch_until(unsigned int rid)
return EINA_FALSE;
}
}
else if (!sel)
{
WRN("select() timed out. giving up on request %d", rid);
return EINA_FALSE;
}
}
}
return EINA_TRUE;