aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-02-17 12:52:46 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-02-17 12:52:46 +0800
commit0c5435836a8cc45ec3d35edd57bf9ed9b05e6248 (patch)
tree352fa8ca6fd5c2c0cec91a75a43294758fac2456 /camel
parent78ec5fde6654a7118b0e7e6d203fcece872af28a (diff)
downloadgsoc2013-evolution-0c5435836a8cc45ec3d35edd57bf9ed9b05e6248.tar
gsoc2013-evolution-0c5435836a8cc45ec3d35edd57bf9ed9b05e6248.tar.gz
gsoc2013-evolution-0c5435836a8cc45ec3d35edd57bf9ed9b05e6248.tar.bz2
gsoc2013-evolution-0c5435836a8cc45ec3d35edd57bf9ed9b05e6248.tar.lz
gsoc2013-evolution-0c5435836a8cc45ec3d35edd57bf9ed9b05e6248.tar.xz
gsoc2013-evolution-0c5435836a8cc45ec3d35edd57bf9ed9b05e6248.tar.zst
gsoc2013-evolution-0c5435836a8cc45ec3d35edd57bf9ed9b05e6248.zip
** See bug #53861.
2004-02-17 Not Zed <NotZed@Ximian.com> ** See bug #53861. * providers/nntp/camel-nntp-summary.c (add_range_xover): Fix from Edd Dumbill <edd@usefulinc.com> to avoid aborting on irrelevently truncated lines. svn path=/trunk/; revision=24754
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog8
-rw-r--r--camel/providers/nntp/camel-nntp-summary.c4
2 files changed, 12 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index d6eee1ea8a..4221438ae8 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,11 @@
+2004-02-17 Not Zed <NotZed@Ximian.com>
+
+ ** See bug #53861.
+
+ * providers/nntp/camel-nntp-summary.c (add_range_xover): Fix from
+ Edd Dumbill <edd@usefulinc.com> to avoid aborting on irrelevently
+ truncated lines.
+
2004-02-16 Not Zed <NotZed@Ximian.com>
** See bug #51045.
diff --git a/camel/providers/nntp/camel-nntp-summary.c b/camel/providers/nntp/camel-nntp-summary.c
index 6c9c7e54b8..8c0d5f8476 100644
--- a/camel/providers/nntp/camel-nntp-summary.c
+++ b/camel/providers/nntp/camel-nntp-summary.c
@@ -478,6 +478,10 @@ add_range_xover(CamelNNTPSummary *cns, unsigned int high, unsigned int low, Came
}
}
+ /* skip headers we don't care about, incase the server doesn't actually send some it said it would. */
+ while (xover && xover->name == NULL)
+ xover = xover->next;
+
/* truncated line? ignore? */
if (xover == NULL) {
mi = camel_folder_summary_uid(s, cns->priv->uid);