Navigation Menu

Skip to content

Commit

Permalink
FOund a load of misplaced foreach paretheses. Imagine my horror :-/
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Apr 15, 2016
1 parent 2ec7ad0 commit 807fada
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions lib/QMail/QueueHandler.pm
Expand Up @@ -186,8 +186,7 @@ sub _build_msglist {
foreach my $todofile (
grep { !/\./ }
map { "$tododir/$_" } readdir $subdir
)
{
) {
$msglist->{$todofile}{'todo'} = $todofile;
}
}
Expand All @@ -208,8 +207,7 @@ sub _build_msglist {
foreach my $infofile (
grep { !/\./ }
map { "$dir/$_" } readdir $infosubdir
)
{
) {
$msglist->{$infofile}{sender} = 'S';
}

Expand All @@ -220,8 +218,7 @@ sub _build_msglist {
foreach my $localfile (
grep { !/\./ }
map { "$dir/$_" } readdir $localsubdir
)
{
) {
$msglist->{$localfile}{local} = 'L';
}

Expand All @@ -232,8 +229,7 @@ sub _build_msglist {
foreach my $remotefile (
grep { !/\./ }
map { "$dir/$_" } readdir $remotesubdir
)
{
) {
$msglist->{$remotefile}{remote} = 'R';
}

Expand All @@ -244,8 +240,7 @@ sub _build_msglist {
foreach my $file (
grep { !/\./ }
map { "$dir/$_" } readdir $subdir
)
{
) {
my ( $dirno, $msgno ) = split( /\//, $file );
if ( $bouncehash{$msgno} ) {
$msglist->{$file}{bounce} = 'B';
Expand Down

0 comments on commit 807fada

Please sign in to comment.