From 2236e5982240d81789400d045a4d8423eb33d090 Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 30 Mar 2008 07:35:09 +0000 Subject: forgot to return a value. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io.c b/io.c index c8cb76ba7..9a7d6e886 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"; -- cgit