]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
shared storage: Fixed handling LIST reference string.
authorTimo Sirainen <tss@iki.fi>
Tue, 22 Jun 2010 20:14:22 +0000 (21:14 +0100)
committerTimo Sirainen <tss@iki.fi>
Tue, 22 Jun 2010 20:14:22 +0000 (21:14 +0100)
--HG--
branch : HEAD

src/lib-storage/index/shared/shared-list.c

index 4d0263fffca72f0b91bebc18b28880bce393dff8..bb5a4ebf4942be6668b28344902df3c1487eecbe 100644 (file)
@@ -147,7 +147,7 @@ shared_list_join_refpattern(struct mailbox_list *list,
                ns_ref = NULL;
 
        if (ns_ref != NULL && shared_storage_get_namespace(&ns, &ns_ref) == 0)
-               return mailbox_list_join_refpattern(ns->list, ns_ref, pattern);
+               return mailbox_list_join_refpattern(ns->list, ref, pattern);
 
        /* fallback to default behavior */
        if (*ref != '\0')