From: Timo Sirainen Date: Tue, 22 Jun 2010 20:14:22 +0000 (+0100) Subject: shared storage: Fixed handling LIST reference string. X-Git-Tag: 2.0.rc1~105 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bf7f7b84345a42e48165b367064763aa8763db59;p=thirdparty%2Fdovecot%2Fcore.git shared storage: Fixed handling LIST reference string. --HG-- branch : HEAD --- diff --git a/src/lib-storage/index/shared/shared-list.c b/src/lib-storage/index/shared/shared-list.c index 4d0263fffc..bb5a4ebf49 100644 --- a/src/lib-storage/index/shared/shared-list.c +++ b/src/lib-storage/index/shared/shared-list.c @@ -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')