evas cserve2 - check return of fcntl

fix CID 1039707
This commit is contained in:
Carsten Haitzler 2014-09-01 19:21:33 +09:00
parent 7957721849
commit 719ecf18e8
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("fcntl failed");
socketfd = s;