From cb41eff45035279c2903a7a81db69cddccfe52a7 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Sat, 16 Sep 2023 18:44:42 -0700 Subject: [PATCH] Fix decompression of folders --- mailboxes/folders-lib.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mailboxes/folders-lib.pl b/mailboxes/folders-lib.pl index 0dc4a0f18..2a5d8011d 100755 --- a/mailboxes/folders-lib.pl +++ b/mailboxes/folders-lib.pl @@ -1549,8 +1549,9 @@ sub mailbox_uncompress_folder { my ($folder) = @_; if ($folder->{'type'} == 1 || $folder->{'type'} == 3) { - my @files = $src->{'type'} == 1 ? &get_maildir_files($folder->{'file'}) - : &get_mhdir_files($folder->{'file'}); + my @files = $folder->{'type'} == 1 ? + &get_maildir_files($folder->{'file'}) : + &get_mhdir_files($folder->{'file'}); if ($folder->{'type'} == 1) { foreach my $sf (glob("$folder->{'file'}/.??*")) { push(@files, &get_maildir_files($sf));