Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix tempfile use - warvox - VoIP based wardialing tool, forked from rapid7/warv…
Log
Files
Refs
README
---
commit 8998c901ea6c9a70a9510fd5469ac2393ab024b5
parent 4e04b3f0d5dc3a8523a214c97bf94e38eab94c60
Author: HD Moore <[email protected]>
Date: Thu, 6 Oct 2011 19:04:55 +0000
Fix tempfile use
Diffstat:
M lib/warvox/jobs/analysis.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/warvox/jobs/analysis.rb b/lib/warvox/jobs/analysis.rb
@@ -110,7 +110,7 @@ class Analysis < Base
tmp = Tempfile.new("Analysis")
begin
- ::File.open(tmp, "wb") do |fd|
+ ::File.open(tmp.path, "wb") do |fd|
fd.write(r.audio)
end
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.