aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-folder.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-09-23 06:35:10 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-09-23 06:35:10 +0800
commit0960633750653e6192986b3657eaf051cdf62174 (patch)
tree7e67e77382a9673886c439962476642d40a0af32 /camel/providers/imap/camel-imap-folder.c
parentb41b85209fa0c88142a77b719041dcd101876f1d (diff)
downloadgsoc2013-evolution-0960633750653e6192986b3657eaf051cdf62174.tar.gz
gsoc2013-evolution-0960633750653e6192986b3657eaf051cdf62174.tar.zst
gsoc2013-evolution-0960633750653e6192986b3657eaf051cdf62174.zip
Again...wrap the folder names in quotes
2000-09-22 Jeffrey Stedfast <fejj@helixcode.com> * providers/imap/camel-imap-folder.c (imap_get_message_count_internal): Again...wrap the folder names in quotes * providers/imap/camel-imap-store.c (imap_folder_exists): Wrap the mailbox name in the LIST command in quotes just in case the folder has spaces in the name. (imap_create): Again, wrap folder name in quotes. (check_current_folder): Same... * providers/imap/camel-imap-utils.c (imap_parse_list_response): Update to unquote mailbox if it's quoted (allows us to get folders with spaces in the name). svn path=/trunk/; revision=5556
Diffstat (limited to 'camel/providers/imap/camel-imap-folder.c')
-rw-r--r--camel/providers/imap/camel-imap-folder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index 7d744d701d..9664dab008 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -314,10 +314,10 @@ imap_get_message_count_internal (CamelFolder *folder, CamelException *ex)
if (store->has_status_capability)
status = camel_imap_command_extended (store, folder, &result, ex,
- "STATUS %s (MESSAGES)", folder_path);
+ "STATUS \"%s\" (MESSAGES)", folder_path);
else
status = camel_imap_command_extended (store, folder, &result, ex,
- "EXAMINE %s", folder_path);
+ "EXAMINE \"%s\"", folder_path);
g_free (folder_path);