summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--camel/providers/local/camel-maildir-store.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/providers/local/camel-maildir-store.c b/camel/providers/local/camel-maildir-store.c
index 9aa6a34d3..665b64c43 100644
--- a/camel/providers/local/camel-maildir-store.c
+++ b/camel/providers/local/camel-maildir-store.c
@@ -207,7 +207,7 @@ maildir_store_get_folder_sync (CamelStore *store,
/* Chain up to parent's get_folder() method. */
store_class = CAMEL_STORE_CLASS (camel_maildir_store_parent_class);
- if (!store_class->get_folder_sync (store, dir_name, flags, cancellable, error)) {
+ if (!store_class->get_folder_sync (store, name, flags, cancellable, error)) {
g_free (name);
return NULL;
}