From d6be710fbb55b9a9aea1a6daa3d598dd2728a179 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 17 Jul 2000 02:41:50 +0000 Subject: All SELECT calls now pass a NULL folder argument to 2000-07-16 Jeffrey Stedfast * 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. Also s/camel_imap_command/camel_imap_command_extended as I will probably be doing away with camel_imap_command() or at least only using it for LOGIN and similar commands where the server won't notify us of any recent messages. svn path=/trunk/; revision=4183 --- camel/ChangeLog | 5 ++++- camel/providers/imap/camel-imap-folder.c | 8 ++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/camel/ChangeLog b/camel/ChangeLog index 26ee50f7a5..74a39717e6 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -13,7 +13,10 @@ * 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. + not needed. Also s/camel_imap_command/camel_imap_command_extended as + I will probably be doing away with camel_imap_command() or at least + only using it for LOGIN and similar commands where the server won't + notify us of any recent messages. 2000-07-15 Jeffrey Stedfast diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index c653ca3df9..4c350b697b 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -571,8 +571,8 @@ imap_copy_message_to (CamelFolder *source, const char *uid, CamelFolder *destina else folder_path = g_strdup (destination->full_name); - status = camel_imap_command (CAMEL_IMAP_STORE (store), source, &result, - "UID COPY %s %s", uid, folder_path); + status = camel_imap_command_extended (CAMEL_IMAP_STORE (store), source, &result, + "UID COPY %s %s", uid, folder_path); if (status != CAMEL_IMAP_OK) { CamelService *service = CAMEL_SERVICE (store); @@ -609,8 +609,8 @@ imap_move_message_to (CamelFolder *source, const char *uid, CamelFolder *destina else folder_path = g_strdup (destination->full_name); - status = camel_imap_command (CAMEL_IMAP_STORE (store), source, &result, - "UID COPY %s %s", uid, folder_path); + status = camel_imap_command_extended (CAMEL_IMAP_STORE (store), source, &result, + "UID COPY %s %s", uid, folder_path); if (status != CAMEL_IMAP_OK) { CamelService *service = CAMEL_SERVICE (store); -- cgit v1.2.3