while ((next_msgid = message_id_get_next(&msgid)) != NULL) {
if (output[j] == NULL)
break;
- test_assert(strcmp(output[j++], next_msgid) == 0);
+ test_assert(strcmp(output[j], next_msgid) == 0);
+ j++;
}
test_assert(output[j++] == NULL && next_msgid == NULL);
}
enum mailbox_metadata_items noncached_items;
int ret;
+ i_assert(metadata_r != NULL);
+
if (box->opened) {
/* if mailbox is already opened, don't bother using the values
in mailbox list index. they have a higher chance of being
struct mail_namespace *ns;
bool prefixless_found = FALSE;
+ i_assert(namespaces != NULL);
+
for (ns = namespaces; ns != NULL; ns = ns->next) {
if (ns->prefix_len == 0)
prefixless_found = TRUE;