INN commit: trunk/frontends (mailpost.in)
INN Commit
Russ_Allbery at isc.org
Wed Feb 25 18:34:45 UTC 2009
Date: Wednesday, February 25, 2009 @ 10:34:44
Author: iulius
Revision: 8345
Fix an uninitialized variable (when the body of the article
is empty).
Modified:
trunk/frontends/mailpost.in
-------------+
mailpost.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Modified: mailpost.in
===================================================================
--- mailpost.in 2009-02-22 21:02:17 UTC (rev 8344)
+++ mailpost.in 2009-02-25 18:34:44 UTC (rev 8345)
@@ -322,7 +322,7 @@
${weird_mail_hdrs}
EOF
-my $rest;
+my $rest = '';
$rest .= $_ while (<STDIN>);
$rest =~ s/\n*$/\n/g; # Remove trailing \n except very last.
More information about the inn-committers
mailing list