aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/nntp/camel-nntp-store.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-06-03 20:06:48 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-06-03 20:06:48 +0800
commit15d9e2645c17141ccfb33c59c0ad741962bd7843 (patch)
treee09d3ed86c72694a92ac049a4f4326dd78c8f4b6 /camel/providers/nntp/camel-nntp-store.c
parent74fb7cd73be2837f17529a631ebc1d79b23ea696 (diff)
downloadgsoc2013-evolution-15d9e2645c17141ccfb33c59c0ad741962bd7843.tar
gsoc2013-evolution-15d9e2645c17141ccfb33c59c0ad741962bd7843.tar.gz
gsoc2013-evolution-15d9e2645c17141ccfb33c59c0ad741962bd7843.tar.bz2
gsoc2013-evolution-15d9e2645c17141ccfb33c59c0ad741962bd7843.tar.lz
gsoc2013-evolution-15d9e2645c17141ccfb33c59c0ad741962bd7843.tar.xz
gsoc2013-evolution-15d9e2645c17141ccfb33c59c0ad741962bd7843.tar.zst
gsoc2013-evolution-15d9e2645c17141ccfb33c59c0ad741962bd7843.zip
reset current folder. (connect_to_server): and here too just to make sure.
2004-06-03 Not Zed <NotZed@Ximian.com> * providers/nntp/camel-nntp-store.c (nntp_disconnect_online): reset current folder. (connect_to_server): and here too just to make sure. svn path=/trunk/; revision=26167
Diffstat (limited to 'camel/providers/nntp/camel-nntp-store.c')
-rw-r--r--camel/providers/nntp/camel-nntp-store.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/camel/providers/nntp/camel-nntp-store.c b/camel/providers/nntp/camel-nntp-store.c
index 57894efc0c..515c927f3c 100644
--- a/camel/providers/nntp/camel-nntp-store.c
+++ b/camel/providers/nntp/camel-nntp-store.c
@@ -258,6 +258,9 @@ connect_to_server (CamelService *service, int ssl_mode, CamelException *ex)
g_free (path);
retval = TRUE;
+
+ g_free(store->current_folder);
+ store->current_folder = NULL;
fail:
CAMEL_NNTP_STORE_UNLOCK(store, command_lock);
@@ -367,7 +370,9 @@ nntp_disconnect_online (CamelService *service, gboolean clean, CamelException *e
camel_object_unref (store->stream);
store->stream = NULL;
-
+ g_free(store->current_folder);
+ store->current_folder = NULL;
+
CAMEL_NNTP_STORE_UNLOCK(store, command_lock);
return TRUE;