diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-07-17 10:16:02 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-07-17 10:16:02 +0800 |
commit | 9cb818382137f41382560ac7594d5eebbc76624e (patch) | |
tree | d2292e0a2ec5162e27eca46416e338425c1a8a37 /camel/providers/imap/camel-imap-folder.c | |
parent | f4f074a316adb77c4d9c727bf47ed64b086e52dc (diff) | |
download | gsoc2013-evolution-9cb818382137f41382560ac7594d5eebbc76624e.tar.gz gsoc2013-evolution-9cb818382137f41382560ac7594d5eebbc76624e.tar.zst gsoc2013-evolution-9cb818382137f41382560ac7594d5eebbc76624e.zip |
All SELECT calls now pass a NULL folder argument to
2000-07-16 Jeffrey Stedfast <fejj@helixcode.com>
* providers/imap/camel-imap-store.c: All SELECT calls now pass
a NULL folder argument to camel_imap_command_extended() since it's
not needed.
(imap_connect): Moved service_class->connect() to the point right
after a connection is established with the server rather than
waiting until the end of the function.
(camel_imap_command): Updated the documentation comment
(camel_imap_command_extended): Before sending a command, first
check to make sure we are connected; if we aren't, then reconnect.
Don't strncmp() command with "SELECT" as it's redundant.
* providers/imap/camel-imap-folder.c: All SELECT calls now pass
a NULL folder argument to camel_imap_command_extended() since it's
not needed.
svn path=/trunk/; revision=4182
Diffstat (limited to 'camel/providers/imap/camel-imap-folder.c')
-rw-r--r-- | camel/providers/imap/camel-imap-folder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index 4b4c8a8caa..c653ca3df9 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -263,7 +263,7 @@ imap_init (CamelFolder *folder, CamelStore *parent_store, CamelFolder *parent_fo else folder_path = g_strdup (folder->full_name); - status = camel_imap_command_extended (CAMEL_IMAP_STORE (folder->parent_store), folder, + status = camel_imap_command_extended (CAMEL_IMAP_STORE (folder->parent_store), NULL, &result, "SELECT %s", folder_path); if (status != CAMEL_IMAP_OK) { CamelService *service = CAMEL_SERVICE (folder->parent_store); |