Subject: | sfinish/DESTROY |
Date: | Fri, 01 Apr 2011 09:15:14 +0200 |
To: | bug-net-sieve [...] rt.cpan.org |
From: | Klaus-Dieter Krannich <kd [...] tu-cottbus.de> |
Hi,
Net::Sieve is a very useful piece of Software, thank you.
However, in the sfinish function the two calls to ssend have a wrong
argument list, should be $self->ssend($_[0]) (instaed of
$self->ssend($sock, $_[0]))
and $self->ssend("LOGOUT") (instead of $self->ssend($sock, "LOGOUT")).
In DESTROY $self->sfinish() should be called only, if a connection exists,
( $self->sfinish() if $self->sock; ? ). (use of undefined value e.g
after "connection timeout")
Best regards
Klaus-Dieter Krannich
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Message body not shown because it is not plain text.