about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-10-21 11:22:25 +0000
committerEric Wong <e@80x24.org>2019-10-22 06:49:36 +0000
commit83c9926448d3fd8600088b047efa577150a45a8e (patch)
treee0214da8f4ca6606b1f4ccfc1eaedd5cf3d669d0
parent7df78fd98370832e5dcb22863dfa4f044fa21f20 (diff)
downloadpublic-inbox-83c9926448d3fd8600088b047efa577150a45a8e.tar.gz
I'm not sure if this will get used anywhere, but at least
call a function which exists in dead code.
-rw-r--r--lib/PublicInbox/InboxWritable.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/InboxWritable.pm b/lib/PublicInbox/InboxWritable.pm
index 174e4245..ab7b0ed5 100644
--- a/lib/PublicInbox/InboxWritable.pm
+++ b/lib/PublicInbox/InboxWritable.pm
@@ -134,7 +134,7 @@ sub import_maildir {
                 opendir my $dh, "$dir/$sub" or die "opendir $dir/$sub: $!\n";
                 while (defined(my $fn = readdir($dh))) {
                         next unless is_maildir_basename($fn);
-                        my $mime = maildir_file_load("$dir/$fn") or next;
+                        my $mime = maildir_path_load("$dir/$fn") or next;
 
                         if (my $filter = $self->filter($im)) {
                                 my $ret = $filter->scrub($mime) or return;