diff options
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 8 | ||||
-rw-r--r-- | camel/providers/nntp/camel-nntp-summary.c | 4 |
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); |