efl_net_server_fd: fix coverity issue.

fixes CID 1361945, minor but let's do it :-)
This commit is contained in:
Gustavo Sverzut Barbieri 2016-09-03 19:57:43 -03:00
parent 2e53068907
commit 72bfca0df5
1 changed files with 1 additions and 0 deletions

View File

@ -236,6 +236,7 @@ _efl_net_server_fd_close_on_exec_set(Eo *o, Efl_Net_Server_Fd_Data *pd, Eina_Boo
if (flags < 0)
{
ERR("fcntl(%d, F_GETFD): %s", fd, strerror(errno));
pd->close_on_exec = old;
return EINA_FALSE;
}
if (close_on_exec)