about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--ext/kgio/accept.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/kgio/accept.c b/ext/kgio/accept.c
index 15e904f..479a606 100644
--- a/ext/kgio/accept.c
+++ b/ext/kgio/accept.c
@@ -248,7 +248,7 @@ static VALUE addr_bang(VALUE io)
  * An optional class argument may be specified to override the
  * Kgio::Socket-class return value:
  *
- *      server.kgio_accept(MySocket) -> MySocket
+ *      server.kgio_tryaccept(MySocket) -> MySocket
  */
 static VALUE tcp_tryaccept(int argc, VALUE *argv, VALUE io)
 {