evolution-data-server r9591 - branches/gnome-2-24/camel/providers/imap



Author: mcrha
Date: Tue Sep 23 11:12:16 2008
New Revision: 9591
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9591&view=rev

Log:
2008-09-23  Milan Crha  <mcrha redhat com>

	** Fix for bug #552631

	* camel-imap-store.c: (imap_auth_loop): Do not forget password
	on 'resource temporarily unavailable' exception.



Modified:
   branches/gnome-2-24/camel/providers/imap/ChangeLog
   branches/gnome-2-24/camel/providers/imap/camel-imap-store.c

Modified: branches/gnome-2-24/camel/providers/imap/camel-imap-store.c
==============================================================================
--- branches/gnome-2-24/camel/providers/imap/camel-imap-store.c	(original)
+++ branches/gnome-2-24/camel/providers/imap/camel-imap-store.c	Tue Sep 23 11:12:16 2008
@@ -1378,7 +1378,8 @@
 			}
 		}
 		if (!authenticated) {
-			if (camel_exception_get_id(ex) == CAMEL_EXCEPTION_USER_CANCEL)
+			if (camel_exception_get_id (ex) == CAMEL_EXCEPTION_USER_CANCEL ||
+			    camel_exception_get_id (ex) == CAMEL_EXCEPTION_SERVICE_UNAVAILABLE)
 				return FALSE;
 
 			errbuf = g_markup_printf_escaped (



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]