fix warning message annoyance with FastCGI engine
David Kamholz [Fri, 7 Jul 2006 20:03:33 +0000 (20:03 +0000)]
Changes
lib/Catalyst/Engine/FastCGI.pm

diff --git a/Changes b/Changes
index cb93fba..e322157 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,6 +1,7 @@
 This file documents the revision history for Perl extension Catalyst.
 
 5.7000   2006-07-07 08:08:08
+        - fix FCGI.pm warning message with FastCGI engine
         - bumped inc::Module::Install to 0.63 in Makefile.PL
         - fixes to uri_for_action for DispatchType::Chained
        - Further doc work.
index f71049c..ba182d3 100644 (file)
@@ -45,7 +45,7 @@ Options may also be specified;
 sub run {
     my ( $self, $class, $listen, $options ) = @_;
 
-    my $sock;
+    my $sock = 0;
     if ($listen) {
         my $old_umask = umask;
         unless ( $options->{leave_umask} ) {