forked from enlightenment/efl
fix possible focket fd of -1 in cserve
this fixes CID 1193207 where a server fd may be -1, connect fail and still be -1 due to failed connect.
This commit is contained in:
parent
c87748a7c1
commit
caf2b018a2
|
@ -648,6 +648,7 @@ _server_dispatch_until(unsigned int rid)
|
|||
ERR("Could not reconnect to cserve2!");
|
||||
return EINA_FALSE;
|
||||
}
|
||||
if (socketfd == -1) return EINA_FALSE;
|
||||
}
|
||||
|
||||
//DBG("Waiting for request %d...", rid);
|
||||
|
|
Loading…
Reference in New Issue