/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

@ -1,6 +1,7 @@
offlineimap (3.99.5) unstable; urgency=low offlineimap (3.99.5) unstable; urgency=low
* Added ability to disable expunging on the server. * Added ability to disable expunging on the server.
* Fixed infinite loop with preauth. Closes: #169514.
-- John Goerzen <jgoerzen@complete.org> Tue, 12 Nov 2002 09:29:31 -0600 -- John Goerzen <jgoerzen@complete.org> Tue, 12 Nov 2002 09:29:31 -0600

View File

@ -161,7 +161,7 @@ to invoke the program.
Download the tar.gz version of the package from the website. Then run Download the tar.gz version of the package from the website. Then run
these commands, making sure that you are the "root" user first: these commands, making sure that you are the "root" user first:
.PP .PP
.B tar -zxvf offlineimap-x.y.z.tar.gz .B tar -zxvf offlineimap_x.y.z.tar.gz
.br .br
.B cd offlineimap-x.y.z .B cd offlineimap-x.y.z
.br .br

View File

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