aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/core/imap/MCIMAPNamespace.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/imap/MCIMAPNamespace.cc b/src/core/imap/MCIMAPNamespace.cc
index 6da0e88f..1cfa5a3a 100644
--- a/src/core/imap/MCIMAPNamespace.cc
+++ b/src/core/imap/MCIMAPNamespace.cc
@@ -93,7 +93,7 @@ String * IMAPNamespace::pathForComponents(Array * components)
String * IMAPNamespace::pathForComponentsAndPrefix(Array * components, String * prefix)
{
- IMAPNamespaceItem * item = itemForPath(path);
+ IMAPNamespaceItem * item = itemForPath(prefix);
if (item == NULL)
return NULL;
return item->pathForComponents(components);