fix some messages

master
Joey Hess 2008-06-30 23:32:08 -04:00
parent b01ee9b3b3
commit 49514f39f6
1 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ sub match_maxsize ($$;@) { #{{{
my %params=@_; my %params=@_;
if (! exists $params{file}) { if (! exists $params{file}) {
return IkiWiki::FailReason->new("no tempfile specified"); return IkiWiki::FailReason->new("no file specified");
} }
if (-s $params{file} > $maxsize) { if (-s $params{file} > $maxsize) {
@ -122,7 +122,7 @@ sub match_minsize ($$;@) { #{{{
my %params=@_; my %params=@_;
if (! exists $params{file}) { if (! exists $params{file}) {
return IkiWiki::FailReason->new("no tempfile specified"); return IkiWiki::FailReason->new("no file specified");
} }
if (-s $params{file} < $minsize) { if (-s $params{file} < $minsize) {