Fix another bug that affects 1.8 only - warvox - VoIP based wardialing tool, forked from rapid7/warvox.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit 0367cb279803e4c6c3f19fb40f268d483a88e940
(DIR) parent 8998c901ea6c9a70a9510fd5469ac2393ab024b5
(HTM) Author: HD Moore <hd_moore@rapid7.com>
Date: Thu, 6 Oct 2011 19:30:58 +0000
Fix another bug that affects 1.8 only
Diffstat:
M lib/warvox/jobs/analysis.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/lib/warvox/jobs/analysis.rb b/lib/warvox/jobs/analysis.rb
@@ -348,7 +348,7 @@ class Analysis < Base
tmp_mp3 = Tempfile.new("mp3")
# Generate a WAV file from raw linear PCM
- ::File.open(tmp_wav, "wb") do |fd|
+ ::File.open(tmp_wav.path, "wb") do |fd|
fd.write(raw.to_wav)
end