aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-folder.c
diff options
context:
space:
mode:
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 21f4d3bfc2..31b5e23d93 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -442,7 +442,7 @@ imap_copy_message_to (CamelFolder *source, const char *uid,
char *folder_path;
folder_path = camel_imap_store_folder_path (store, destination->full_name);
- response = camel_imap_command (store, source, ex, "UID COPY %s %s",
+ response = camel_imap_command (store, source, ex, "UID COPY %s \"%s\"",
uid, folder_path);
camel_imap_response_free (response);
g_free (folder_path);
@@ -458,7 +458,7 @@ imap_move_message_to (CamelFolder *source, const char *uid,
char *folder_path;
folder_path = camel_imap_store_folder_path (store, destination->full_name);
- response = camel_imap_command (store, source, ex, "UID COPY %s %s",
+ response = camel_imap_command (store, source, ex, "UID COPY %s \"%s\"",
uid, folder_path);
camel_imap_response_free (response);
g_free (folder_path);