Fix: Wrong text for content check (configuration file).

Check for Message-ID had text from check for Expires.

Signed-off-by: Thomas Hochstein <thh@inter.net>
This commit is contained in:
Thomas Hochstein 2010-04-12 00:20:48 +02:00
parent 5a6670c7ff
commit 2ef9b9cd23

View file

@ -210,7 +210,7 @@ sub readconfig{
warn "$0: W: The Expires for your project \"$$Config[$i]{'name'}\" is invalid - set to 3 month.\n"; warn "$0: W: The Expires for your project \"$$Config[$i]{'name'}\" is invalid - set to 3 month.\n";
} }
unless(defined($$Config[$i]{'mid-format'}) && $$Config[$i]{'mid-format'} =~ /^<\S+\@\S{2,}\.\S{2,}>$/) { unless(defined($$Config[$i]{'mid-format'}) && $$Config[$i]{'mid-format'} =~ /^<\S+\@\S{2,}\.\S{2,}>$/) {
warn "$0: W: The Expires for your project \"$$Config[$i]{'name'}\" seems to be invalid - set to default.\n"; warn "$0: W: The Message-ID format for your project \"$$Config[$i]{'name'}\" seems to be undefined or invalid - set to default.\n";
} }
} }
$Error .= "-" x 25 . 'program terminated' . "-" x 25 . "\n" if $Error; $Error .= "-" x 25 . 'program terminated' . "-" x 25 . "\n" if $Error;