if (svr->fd_handler)
ecore_main_fd_handler_del(svr->fd_handler);
- if (svr->fd >= 0)
+ if (svr->fd > 0)
close(svr->fd);
if (svr->write_buf)
if (svr->fd_handler)
ecore_main_fd_handler_del(svr->fd_handler);
- if (svr->fd >= 0)
+ if (svr->fd > 0)
close(svr->fd);
ecore_con_ssl_server_shutdown(svr);
if (svr->fd_handler)
ecore_main_fd_handler_del(svr->fd_handler);
- if (svr->fd >= 0)
+ if (svr->fd > 0)
close(svr->fd);
servers = eina_list_remove(servers, svr);
if (cl->fd_handler)
ecore_main_fd_handler_del(cl->fd_handler);
- if (cl->fd >= 0)
+ if (cl->fd > 0)
close(cl->fd);
if (cl->client_addr)