From 74fb7cd73be2837f17529a631ebc1d79b23ea696 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 3 Jun 2004 11:30:52 +0000 Subject: disconnect if we get an io error or user cancellation. 2004-06-03 Not Zed * providers/nntp/camel-nntp-store.c (camel_nntp_command): disconnect if we get an io error or user cancellation. svn path=/trunk/; revision=26166 --- camel/providers/nntp/camel-nntp-store.c | 1 + 1 file changed, 1 insertion(+) (limited to 'camel/providers') diff --git a/camel/providers/nntp/camel-nntp-store.c b/camel/providers/nntp/camel-nntp-store.c index a36a69634f..57894efc0c 100644 --- a/camel/providers/nntp/camel-nntp-store.c +++ b/camel/providers/nntp/camel-nntp-store.c @@ -1311,6 +1311,7 @@ camel_nntp_command (CamelNNTPStore *store, CamelException *ex, CamelNNTPFolder * camel_service_disconnect (CAMEL_SERVICE (store), FALSE, NULL); continue; case -1: /* i/o error */ + camel_service_disconnect (CAMEL_SERVICE (store), FALSE, NULL); if (camel_exception_get_id(ex) == CAMEL_EXCEPTION_USER_CANCEL) return -1; camel_exception_clear(ex); -- cgit