evas cserve2 - check fcntl return for setting non-block
fix CID 1039707
This commit is contained in:
parent
29c4a28457
commit
9825a16a26
|
@ -79,7 +79,7 @@ _server_connect(void)
|
|||
return EINA_FALSE;
|
||||
}
|
||||
|
||||
fcntl(s, F_SETFL, O_NONBLOCK);
|
||||
if (fcntl(s, F_SETFL, O_NONBLOCK) < 0) ERR("can't set non-blocking fd");
|
||||
|
||||
socketfd = s;
|
||||
|
||||
|
|
Loading…
Reference in New Issue