refine error log

This commit is contained in:
Sukchan Lee 2017-12-17 20:29:07 +09:00
parent de09353e5d
commit 8f1df48a95
1 changed files with 2 additions and 11 deletions

View File

@ -734,17 +734,8 @@ int sock_select_loop(c_time_t timeout)
if (rc < 0)
{
if (errno != EINTR && errno != 0)
{
if (errno == EBADF)
{
d_error("[FIXME] socket should be closed here(%d:%s)",
errno, strerror(errno));
}
else
{
d_error("select failed(%d:%s)", errno, strerror(errno));
}
}
d_error("select failed(%d:%s)", errno, strerror(errno));
return rc;
}