evas cserve2 - check fcntl return for setting non-block

fix CID 1039707
This commit is contained in:
Carsten Haitzler 2014-08-27 15:01:10 +09:00
parent 29c4a28457
commit 9825a16a26
1 changed files with 1 additions and 1 deletions

View File

@ -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;