cedric pushed a commit to branch master.
commit 22e79af0977ccdcbfa30c7e5425d12962baef61c
Author: Jean-Philippe Andre <[email protected]>
Date: Mon Jul 1 10:55:46 2013 +0900
evas/cserve2: return in case of select timeout.
Signed-off-by: Cedric Bail <[email protected]>
---
src/lib/evas/cserve2/evas_cs2_client.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/lib/evas/cserve2/evas_cs2_client.c
b/src/lib/evas/cserve2/evas_cs2_client.c
index 5ebd35c..4433e55 100644
--- a/src/lib/evas/cserve2/evas_cs2_client.c
+++ b/src/lib/evas/cserve2/evas_cs2_client.c
@@ -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;
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev