about summary refs log tree commit homepage
path: root/lib/mogilefs/mogilefs.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-10-15 20:06:18 -0700
committerEric Wong <normalperson@yhbt.net>2008-10-15 20:27:18 -0700
commit2aa8badf3b7e1d664e137901ce6bd6b61e793ca6 (patch)
tree8f5435e52c80894ef6dbfc985587b573908c15fb /lib/mogilefs/mogilefs.rb
parent2e9e8cc2c0ea08e090018891dd8538ec675c0825 (diff)
downloadmogilefs-client-2aa8badf3b7e1d664e137901ce6bd6b61e793ca6.tar.gz
This was leading to ugly "no_temp_file" errors that
got converted to exceptions.
Diffstat (limited to 'lib/mogilefs/mogilefs.rb')
-rw-r--r--lib/mogilefs/mogilefs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mogilefs/mogilefs.rb b/lib/mogilefs/mogilefs.rb
index 0998301..7ed66bd 100644
--- a/lib/mogilefs/mogilefs.rb
+++ b/lib/mogilefs/mogilefs.rb
@@ -169,7 +169,7 @@ class MogileFS::MogileFS < MogileFS::Client
       else
         if File.size(file) > 0x10000 # Bigass file, handle differently
           mfp.bigfile = file
-          return mfp.close
+          return
         else
           return File.open(file) { |fp| sysrwloop(fp, mfp) }
         end