aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-store.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-10-17 05:00:59 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-10-17 05:00:59 +0800
commitff8aed099f0921cde2c5797167a476b7eb185eab (patch)
tree6cb2ee21134265507d5c7f83dc28d904fd5a5839 /camel/providers/imap/camel-imap-store.h
parent8b23fc59ea35cf92650e0d3ec5bdbf4c75b19e15 (diff)
downloadgsoc2013-evolution-ff8aed099f0921cde2c5797167a476b7eb185eab.tar.gz
gsoc2013-evolution-ff8aed099f0921cde2c5797167a476b7eb185eab.tar.zst
gsoc2013-evolution-ff8aed099f0921cde2c5797167a476b7eb185eab.zip
Only send the LOGOUT command if the store is connected. (imap_connect):
2000-10-16 Jeffrey Stedfast <fejj@helixcode.com> * providers/imap/camel-imap-store.c (imap_disconnect): Only send the LOGOUT command if the store is connected. (imap_connect): Set the 'connected' state to TRUE when we successfully connect. (get_folder_info): if (!topfi), 'topfi' was allocated but then 'fi' was set. I think Dan meant to set topfi since fi is an uninitialized value at this point. * providers/imap/camel-imap-command.c (imap_read_response): Check for the untagged BYE response and set the 'connected' state to FALSE if we receive the BYE response. Return NULL if we get a BYE response. svn path=/trunk/; revision=5944
Diffstat (limited to 'camel/providers/imap/camel-imap-store.h')
-rw-r--r--camel/providers/imap/camel-imap-store.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/providers/imap/camel-imap-store.h b/camel/providers/imap/camel-imap-store.h
index a211457dbe..3c492c5aa3 100644
--- a/camel/providers/imap/camel-imap-store.h
+++ b/camel/providers/imap/camel-imap-store.h
@@ -57,6 +57,8 @@ typedef struct {
gboolean has_status_capability;
gchar *dir_sep, *storage_path;
+
+ gboolean connected;
} CamelImapStore;