summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-30 07:35:09 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-30 07:35:09 +0000
commitc8ac4a209bcccfe38239ff3e6e853cf01e424537 (patch)
tree4c3c01248833b47aa686ba121b253b63905ceafe /io.c
parent0ef84dcefce47cab974f8763abd7cbb3a7eb6d98 (diff)
forgot to return a value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index c8cb76ba7f..9a7d6e8864 100644
--- a/io.c
+++ b/io.c
@@ -6392,7 +6392,7 @@ retry_sendfile:
if (copy_stream_wait_write(stp) == -1)
return -1;
if (RUBY_VM_INTERRUPTED(stp->th))
- return;
+ return -1;
goto retry_sendfile;
}
stp->syserr = "sendfile";