/offlineimap/head: changeset 289

Fixed infinite loop in imapserver.py with preauth
This commit is contained in:
jgoerzen
2002-11-20 05:57:45 +01:00
parent 2756ca9d5a
commit 832c7ddd66
3 changed files with 3 additions and 1 deletions

View File

@ -159,6 +159,7 @@ class IMAPServer:
# Generate a new connection.
if self.tunnel:
imapobj = UsefulIMAP4_Tunnel(self.tunnel)
success = 1
elif self.usessl:
imapobj = UsefulIMAP4_SSL(self.hostname, self.port)
else: