about summary refs log tree commit homepage
path: root/ext/kgio/read_write.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-01-31 13:58:53 -0800
committerEric Wong <normalperson@yhbt.net>2011-01-31 13:58:53 -0800
commit15744a90cda72e9007914cd2a78b0b2949193479 (patch)
tree896c9cb1374c38aac9a3b681eedddf71a98c0727 /ext/kgio/read_write.c
parent313d2bb8d37dbc5602e464def90b3e7fa9f60924 (diff)
downloadkgio-15744a90cda72e9007914cd2a78b0b2949193479.tar.gz
Duh...
Diffstat (limited to 'ext/kgio/read_write.c')
-rw-r--r--ext/kgio/read_write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/kgio/read_write.c b/ext/kgio/read_write.c
index ddf800b..224497e 100644
--- a/ext/kgio/read_write.c
+++ b/ext/kgio/read_write.c
@@ -164,7 +164,7 @@ static VALUE my_recv(int io_wait, int argc, VALUE *argv, VALUE io)
         long n;
 
         prepare_read(&a, argc, argv, io);
-        kgio_autopush_recv(io, a.fd);
+        kgio_autopush_recv(io);
 
         if (a.len > 0) {
 retry:
@@ -322,7 +322,7 @@ retry:
         if (write_check(&a, n, "send", io_wait) != 0)
                 goto retry;
         if (TYPE(a.buf) != T_SYMBOL)
-                kgio_autopush_send(io, a.fd);
+                kgio_autopush_send(io);
         return a.buf;
 }