diff --git a/src/api.c b/src/api.c index a35d180..76f95a5 100644 --- a/src/api.c +++ b/src/api.c @@ -106,8 +106,8 @@ int epoll_ctl(HANDLE ephnd, int op, SOCKET sock, struct epoll_event* ev) { return 0; err: - /* On Linux, in the case of epoll_ctl_mod(), EBADF takes precendence over - * other errors. Wepoll copies this behavior. */ + /* On Linux, in the case of epoll_ctl_mod(), EBADF takes priority over other + * errors. Wepoll mimics this behavior. */ err_check_handle(ephnd); err_check_handle((HANDLE) sock); return -1; diff --git a/src/port.c b/src/port.c index 11b8086..3701d7f 100644 --- a/src/port.c +++ b/src/port.c @@ -131,8 +131,7 @@ static int _ep_port_update_events(ep_port_t* port_info) { if (ep_sock_update(port_info, sock_info) < 0) return -1; - /* ep_sock_update() removes the socket from the update list if - * successfull. */ + /* ep_sock_update() removes the socket from the update queue. */ } return 0;