From c63ad2b2e0e25f0765605e8ba2d7038b5e28d878 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 27 Dec 2012 02:16:26 +0000 Subject: [PATCH] fastopen: fix argument order in RDoc example Oops :x --- ext/kgio/connect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.4.GIT