forked from enlightenment/efl
efl_net_server_fd: fix coverity issue.
fixes CID 1361945, minor but let's do it :-)
This commit is contained in:
parent
2e53068907
commit
72bfca0df5
|
@ -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)
|
if (flags < 0)
|
||||||
{
|
{
|
||||||
ERR("fcntl(%d, F_GETFD): %s", fd, strerror(errno));
|
ERR("fcntl(%d, F_GETFD): %s", fd, strerror(errno));
|
||||||
|
pd->close_on_exec = old;
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
}
|
}
|
||||||
if (close_on_exec)
|
if (close_on_exec)
|
||||||
|
|
Loading…
Reference in New Issue