when a 'protocol error' is encountered disconnect from the server

This commit is contained in:
Paul Mangan 2003-02-16 11:11:37 +00:00
parent 37207701dd
commit 2f79832be6
3 changed files with 13 additions and 1 deletions

View file

@ -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

View file

@ -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

View file

@ -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;
}