From: epg <> Date: Fri, 2 Sep 2005 22:45:28 +0000 (+0000) Subject: XXX the stupid pop() in filter_mail X-Git-Url: https://diplodocus.org/git/minc/commitdiff_plain/f53c8c7e8dd23a6ac4c23c6c190d9435f135e0db?ds=sidebyside;hp=1d793bbf786252cf8085b282f7d9bf82dc8c3688 XXX the stupid pop() in filter_mail --- diff --git a/minc b/minc index 6837e19..f945781 100755 --- a/minc +++ b/minc @@ -586,6 +586,8 @@ sub filter_mail { print(' ' x $COLUMNS); printf("\r\%-${nf}s \%${nm}d \%-${nF}s \%s\n", substr($mhfolder, 0, $nf), substr($msgnum, 0, $nm), + # XXX shouldn't pop, as these are about to be + # passed to post_store_hooks substr(pop(@{$headers{'from'}}), 0, $nF), substr(pop(@{$headers{'subject'}}), 0, $ns)) }