From 83c9926448d3fd8600088b047efa577150a45a8e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 21 Oct 2019 11:22:25 +0000 Subject: inboxwritable: import_maildir uses maildir_path_load I'm not sure if this will get used anywhere, but at least call a function which exists in dead code. --- lib/PublicInbox/InboxWritable.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/InboxWritable.pm') 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; -- cgit v1.2.3-24-ge0c7