diff options
author | Eric Wong <e@80x24.org> | 2015-12-01 03:19:52 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-12-01 03:19:52 +0000 |
commit | 8442dd48690ec64766082194ca5f744248fabf57 (patch) | |
tree | d38909a1ec4ea078b7466615ec6c5a0472be330c /lib | |
parent | c51c7c97d83ecfc7cde7954f6faa61756f650d5d (diff) | |
download | yahns-8442dd48690ec64766082194ca5f744248fabf57.tar.gz |
This typo would've only be triggered if the sendfile gem itself turns out to be buggy and returns an undocumented return code.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/yahns/wbuf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yahns/wbuf.rb b/lib/yahns/wbuf.rb index 9888a8c..1a24aab 100644 --- a/lib/yahns/wbuf.rb +++ b/lib/yahns/wbuf.rb @@ -71,7 +71,7 @@ class Yahns::Wbuf # :nodoc: @busy = rv return rv else - raise "BUG: #{rv.nil ? "EOF" : rv.inspect} on tmpio " \ + raise "BUG: #{rv.nil? ? "EOF" : rv.inspect} on tmpio " \ "sf_offset=#@sf_offset sf_count=#@sf_count" end while @sf_count > 0 |