return ret;
}
-static const char *ns_get_listed_prefix(struct cmd_list_context *ctx,
- bool *have_children)
+static const char *ns_get_listed_prefix(struct cmd_list_context *ctx)
{
struct imap_match_glob *glob;
enum imap_match_result match;
match = imap_match(glob, ns_prefix);
}
i_assert(match == IMAP_MATCH_YES);
- *have_children = TRUE;
return ns_prefix;
}
flags = MAILBOX_NONEXISTENT;
}
- name = ns_get_listed_prefix(ctx, &have_children);
+ name = ns_get_listed_prefix(ctx);
if ((flags & MAILBOX_CHILDREN) == 0) {
if (have_children || list_namespace_has_children(ctx)) {