[evolution-patches] fix for bug 53861 -- nntp support broken on news.gmane.org



Patch attached.  See the bug for discussion of it.

-- Edd

Index: camel-nntp-summary.c
===================================================================
RCS file: /cvs/gnome/evolution/camel/providers/nntp/camel-nntp-summary.c,v
retrieving revision 1.10
diff -u -r1.10 camel-nntp-summary.c
--- camel-nntp-summary.c	12 Jan 2004 22:20:40 -0000	1.10
+++ camel-nntp-summary.c	6 Feb 2004 12:44:18 -0000
@@ -460,6 +460,14 @@
 			}
 		}
 
+		/* skip headers we don't care about. some servers report
+		   more headers than they send, but if we have the ones
+		   we care about, we can proceed anyway */
+
+		while (xover && xover->name == NULL) {
+			xover = xover->next;
+		}
+
 		/* truncated line? ignore? */
 		if (xover == NULL) {
 			mi = camel_folder_summary_uid(s, cns->priv->uid);


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