about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2012-12-27 02:16:26 +0000
committerEric Wong <normalperson@yhbt.net>2012-12-27 02:16:26 +0000
commitc63ad2b2e0e25f0765605e8ba2d7038b5e28d878 (patch)
treeda816dbd6b73c54bcf90890a3556800b2e8be7e8
parent5f696156e097a1e66cb0c5c2a7cf62b38fd97605 (diff)
downloadkgio-c63ad2b2e0e25f0765605e8ba2d7038b5e28d878.tar.gz
Oops :x
-rw-r--r--ext/kgio/connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/kgio/connect.c b/ext/kgio/connect.c
index 21b3f7c..07ea79c 100644
--- a/ext/kgio/connect.c
+++ b/ext/kgio/connect.c
@@ -168,7 +168,7 @@ static VALUE tfo_sendto(void *_a)
  * call-seq:
  *
  *        s = Kgio::Socket.new(:INET, :STREAM)
- *        addr = Socket.pack_sockaddr_in("example.com", 80)
+ *        addr = Socket.pack_sockaddr_in(80, "example.com")
  *        s.fastopen("hello world", addr) -> nil
  *
  * Starts a TCP connection using TCP Fast Open.  This uses a blocking