aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-command.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers/imap/camel-imap-command.c')
-rw-r--r--camel/providers/imap/camel-imap-command.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/camel/providers/imap/camel-imap-command.c b/camel/providers/imap/camel-imap-command.c
index 9f79db5020..e9808d5a1f 100644
--- a/camel/providers/imap/camel-imap-command.c
+++ b/camel/providers/imap/camel-imap-command.c
@@ -69,16 +69,12 @@ camel_imap_command (CamelImapStore *store, CamelFolder *folder,
/* Check for current folder */
if (folder && (!fmt || folder != store->current_folder)) {
- char *folder_path;
CamelImapResponse *response;
- folder_path = camel_imap_store_folder_path (store,
- folder->full_name);
store->current_folder = NULL;
response = camel_imap_command (store, NULL, ex,
- "SELECT \"%s\"", folder_path);
- g_free (folder_path);
-
+ "SELECT \"%s\"",
+ folder->full_name);
if (!response)
return NULL;
store->current_folder = folder;