[Bps-public-commit] Net-IMAP-Server branch, master, updated. 1.27-1-g0e208ef
Alex Vandiver
alexmv at bestpractical.com
Wed May 26 15:48:03 EDT 2010
The branch, master has been updated
via 0e208ef1f06e4ec4b85d7a653baecbdbc268570c (commit)
from d61ca7604450267b3066433c19039406c1a06ba8 (commit)
Summary of changes:
lib/Net/IMAP/Server/Connection.pm | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 0e208ef1f06e4ec4b85d7a653baecbdbc268570c
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Wed May 26 15:48:40 2010 -0400
Warnings avoidance when CLOSE is called, or any other cause of ->select(undef)
diff --git a/lib/Net/IMAP/Server/Connection.pm b/lib/Net/IMAP/Server/Connection.pm
index 2b5f83d..0100600 100644
--- a/lib/Net/IMAP/Server/Connection.pm
+++ b/lib/Net/IMAP/Server/Connection.pm
@@ -133,7 +133,8 @@ sub selected {
return $self->_selected unless @_;
# This is a setter, but isn't actually changing the mailbox.
- return $self->_selected if $mailbox and $mailbox eq $self->_selected;
+ return $self->_selected if $mailbox and $self->_selected
+ and $mailbox eq $self->_selected;
# Otherwise, flush any untagged messages, close the old, and open
# the new.
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list