INN commit: trunk/control (perl-nocem.in)

INN Commit Russ_Allbery at isc.org
Mon Apr 13 09:10:39 UTC 2009


    Date: Monday, April 13, 2009 @ 02:10:38
  Author: iulius
Revision: 8419

Silent a possible use of uninitialized value (when the
message-ID is not set).

Modified:
  trunk/control/perl-nocem.in

---------------+
 perl-nocem.in |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: perl-nocem.in
===================================================================
--- perl-nocem.in	2009-04-12 21:08:22 UTC (rev 8418)
+++ perl-nocem.in	2009-04-13 09:10:38 UTC (rev 8419)
@@ -133,7 +133,8 @@
     my $inhdr = 1;
     my $i = 0;
     my $body = '';
-    my ($from, $msgid);
+    my $from = '';
+    my $msgid = '<>';
     while (<$artfh>) {
         last if $i++ > 200;
         s/\r\n$/\n/;




More information about the inn-committers mailing list