diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-01-31 13:58:53 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-01-31 13:58:53 -0800 |
commit | 15744a90cda72e9007914cd2a78b0b2949193479 (patch) | |
tree | 896c9cb1374c38aac9a3b681eedddf71a98c0727 /ext/kgio/accept.c | |
parent | 313d2bb8d37dbc5602e464def90b3e7fa9f60924 (diff) | |
download | kgio-15744a90cda72e9007914cd2a78b0b2949193479.tar.gz |
Duh...
Diffstat (limited to 'ext/kgio/accept.c')
-rw-r--r-- | ext/kgio/accept.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/kgio/accept.c b/ext/kgio/accept.c index 2ddd75f..afb44a2 100644 --- a/ext/kgio/accept.c +++ b/ext/kgio/accept.c @@ -136,7 +136,7 @@ static VALUE acceptor(int argc, const VALUE *argv) #if defined(__linux__) # define post_accept kgio_autopush_accept #else -# define post_accept(a,b,c,d) for(;0;) +# define post_accept(a,b) for(;0;) #endif static VALUE @@ -183,7 +183,7 @@ retry: } } client_io = sock_for_fd(klass, client); - post_accept(accept_io, client_io, a.fd, client); + post_accept(accept_io, client_io); return client_io; } |