Bug#547713: libmail-imapclient-perl: expunge() does not work without parameter
Salvatore Bonaccorso
salvatore.bonaccorso at gmail.com
Wed Sep 23 04:13:25 UTC 2009
tag 547713 + confirmed pending
thanks
On Mon, Sep 21, 2009 at 08:34:18PM +0200, Arnaud Giersch wrote:
> The expunge() method in Mail::IMAPClient, does not work when used
> without argument. I noticed it by playing with imapsync.
>
> Acoording to the documentation :
>
> The expunge method accepts one optional argument, a folder name. It
> expunges the folder specified as the argument, or the currently
> selected folder if no argument is supplied.
>
> If I understand correctly, in this method, the line :
>
> if ( defined $folder && $folder eq $old ) {
>
> should be changed in :
>
> if ( !defined $folder || $folder eq $old ) {
You are right. It is fixed upstream, also improving documentation.
Bests
Salvatore
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20090923/c4f0ae6c/attachment-0001.pgp>
More information about the pkg-perl-maintainers
mailing list