If a SELECT fails, set imap_store->current_folder to NULL so a SELECT is
authorJeffrey Stedfast <fejj@helixcode.com>
Thu, 13 Jul 2000 22:17:19 +0000 (22:17 +0000)
committerJeffrey Stedfast <fejj@src.gnome.org>
Thu, 13 Jul 2000 22:17:19 +0000 (22:17 +0000)
commit7ff0f06482f604a3a54e89a9acd47578e9387766
tree121a351d50c429c5526f33d587b617dee9d36709
parentfe5cbec75e4e663e30184513aea15e23951c819e
If a SELECT fails, set imap_store->current_folder to NULL so a SELECT is

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

* providers/imap/camel-imap-folder.c:
* providers/imap/camel-imap-store.c: If a SELECT fails, set
imap_store->current_folder to NULL so a SELECT is forced before
any message/folder operations are requested. Also, because some
users don't use a namespace, make sure that if the url->path is
"/" we don't use it when creating the folder_path.
(camel_imap_command[_extended]): Since we allow the passing of
a NULL folder which we can use to bypass a forced SELECT, no need
to check for the individual commands that don't require a folder
to be selected.
camel/ChangeLog
camel/providers/imap/camel-imap-folder.c
camel/providers/imap/camel-imap-store.c