Made it a little more forgiving. Also set current_folder to NULL as there
authorJeffrey Stedfast <fejj@helixcode.com>
Mon, 24 Jul 2000 01:37:43 +0000 (01:37 +0000)
committerJeffrey Stedfast <fejj@src.gnome.org>
Mon, 24 Jul 2000 01:37:43 +0000 (01:37 +0000)
commitb428115aa50ccddfd4554ea742edcf2e48881827
tree9c3fd172ac85fb1b2e81a88d0f28af15337b4a04
parent3e807eb91c5f618c7e3ea637e75d57219d15981c
Made it a little more forgiving. Also set current_folder to NULL as there

2000-07-23  Jeffrey Stedfast  <fejj@helixcode.com>

* providers/imap/camel-imap-store.c (imap_disconnect): Made it a
little more forgiving. Also set current_folder to NULL as there is
no selected folder after a disconnect.
(stream_is_alive): Detects whether or not a socket is "alive"
(camel_imap_command_extended): Use stream_is_alive() to aid in the
detection of a disconnected state.
camel/ChangeLog
camel/providers/imap/camel-imap-folder.c
camel/providers/imap/camel-imap-store.c
camel/providers/imap/camel-imap-store.h