From 2f79832be672931e3ccb608da27ee74a973f1eea Mon Sep 17 00:00:00 2001 From: Paul Mangan Date: Sun, 16 Feb 2003 11:11:37 +0000 Subject: [PATCH] when a 'protocol error' is encountered disconnect from the server --- ChangeLog.claws | 10 ++++++++++ configure.ac | 2 +- src/news.c | 2 ++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ChangeLog.claws b/ChangeLog.claws index 558e0114e..d49ed1d92 100644 --- a/ChangeLog.claws +++ b/ChangeLog.claws @@ -1,3 +1,13 @@ +2003-02-16 [paul] 0.8.10claws14 + + * src/news.c + when a 'protocol error' is encountered disconnect from + the server. This means that the user can carry on viewing + other articles and doesn't have to either wait until the + server timesout or quit sylpheed. + Fixes bug #53 'Unable to read messages in newsgroups, + displayed message doesn't change' + 2003-02-15 [christoph] 0.8.10claws13 * src/imap.c diff --git a/configure.ac b/configure.ac index af2d32dbe..018dada99 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=8 MICRO_VERSION=10 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=claws13 +EXTRA_VERSION=claws14 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION dnl set $target diff --git a/src/news.c b/src/news.c index 06d396342..327fdcc2a 100644 --- a/src/news.c +++ b/src/news.c @@ -382,6 +382,8 @@ gchar *news_fetch_msg(Folder *folder, FolderItem *item, gint num) num, filename); if (ok < 0) { g_warning("can't read article %d\n", num); + session_destroy(SESSION(session)); + REMOTE_FOLDER(folder)->session = NULL; g_free(filename); return NULL; } -- 2.25.1