about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-02-08 13:50:01 -0800
committerEric Wong <normalperson@yhbt.net>2011-02-08 13:50:01 -0800
commit3f6bffb4c4297df48a69d146243fbe5ba8040cb5 (patch)
tree9324e8767ed644f788ab37a4592d3b177c1738f4
parent823e8978b38dcfb642e5059e879af4209ebba0f1 (diff)
downloadkgio-3f6bffb4c4297df48a69d146243fbe5ba8040cb5.tar.gz
doc: fix accept -> tryaccept copy+paste error
Oops
-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)
 {