[evolution-patches] 309237, CAMEL_IMAP_BRAINDAMAGED added



the braindamaged variable was added as a hack for 2.0.x for testing
purposes, but it seems that some people rely on it now to get busted
servers to work, so this adds it to 2.4, it should probably go into
2.2.x as well.

Index: camel/providers/imap/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/imap/ChangeLog,v
retrieving revision 1.23
diff -u -p -r1.23 ChangeLog
--- camel/providers/imap/ChangeLog	2 Aug 2005 03:00:50 -0000	1.23
+++ camel/providers/imap/ChangeLog	2 Aug 2005 05:26:36 -0000
@@ -1,3 +1,10 @@
+2005-08-02  Not Zed  <NotZed Ximian com>
+
+	** See bug #309237.
+
+	* camel-imap-store.c (connect_to_server): add the BRAINDAMAGED
+	hack from 2.0.3, since some people seem to be relying on it.
+
 2005-08-01  Not Zed  <NotZed Ximian com>
 
 	* camel-imap-store.c (get_folder_info_offline): if we're getting
Index: camel/providers/imap/camel-imap-store.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/imap/camel-imap-store.c,v
retrieving revision 1.325
diff -u -p -r1.325 camel-imap-store.c
--- camel/providers/imap/camel-imap-store.c	2 Aug 2005 03:00:50 -0000	1.325
+++ camel/providers/imap/camel-imap-store.c	2 Aug 2005 05:26:36 -0000
@@ -610,7 +610,7 @@ connect_to_server (CamelService *service
 	if (!strncmp(buf, "* PREAUTH", 9))
 		store->preauthed = TRUE;
 	
-	if (strstr (buf, "Courier-IMAP")) {
+	if (strstr (buf, "Courier-IMAP") || getenv("CAMEL_IMAP_BRAINDAMAGED")) {
 		/* Courier-IMAP is braindamaged. So far this flag only
 		 * works around the fact that Courier-IMAP is known to
 		 * give invalid BODY responses seemingly because its


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