diff options
Diffstat (limited to 'ext/socket/tcpserver.c')
-rw-r--r-- | ext/socket/tcpserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/tcpserver.c b/ext/socket/tcpserver.c index 578377b4f9..a38faf8368 100644 --- a/ext/socket/tcpserver.c +++ b/ext/socket/tcpserver.c @@ -89,7 +89,7 @@ tcp_accept(VALUE sock) * TCPServer#accept_nonblock may raise any error corresponding to accept(2) failure, * including Errno::EWOULDBLOCK. * - * If the exception is Errno::EWOULDBLOCK, Errno::AGAIN, Errno::ECONNABORTED, Errno::EPROTO, + * If the exception is Errno::EWOULDBLOCK, Errno::EAGAIN, Errno::ECONNABORTED, Errno::EPROTO, * it is extended by IO::WaitReadable. * So IO::WaitReadable can be used to rescue the exceptions for retrying accept_nonblock. * |