initialize File::Queue correctly
authorGalen Charlton <gmc@esilibrary.com>
Fri, 25 Jul 2014 18:56:34 +0000 (14:56 -0400)
committerBill Erickson <berick@esilibrary.com>
Fri, 8 Aug 2014 14:08:36 +0000 (10:08 -0400)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
SIPServer.pm

index 0538f7e..a3595a5 100644 (file)
@@ -44,7 +44,7 @@ use Sip::MsgType;
 use File::Queue;
 use Storable qw(freeze thaw);
 
-my $mp_fifo = new File::Queue ( "/tmp/SIPServer.mulitplex-fifo.$$");
+my $mp_fifo = File::Queue->new( File => "/tmp/SIPServer.mulitplex-fifo.$$" );
 END { $mp_fifo->delete };
 
 use constant LOG_SIP => "local6"; # Local alias for the logging facility