]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
fix
authorTimo Sirainen <tss@iki.fi>
Mon, 26 Jul 2004 15:30:11 +0000 (18:30 +0300)
committerTimo Sirainen <tss@iki.fi>
Mon, 26 Jul 2004 15:30:11 +0000 (18:30 +0300)
--HG--
branch : HEAD

src/imap/cmd-list.c

index 35031044e26a6eb53caaddbe36ff7cd0b19ed904..931b1176b798fe57088c6a8b526193a010a22167 100644 (file)
@@ -124,7 +124,6 @@ list_namespace_mailboxes(struct client *client, struct imap_match_glob *glob,
                imap_quote_append_string(str, name, FALSE);
                client_send_line(client, str_c(str));
        }
-       t_pop();
 
        if (!inbox_found && ns->inbox && match_inbox) {
                /* INBOX always exists */
@@ -132,6 +131,7 @@ list_namespace_mailboxes(struct client *client, struct imap_match_glob *glob,
                str_printfa(str, "* LIST () \"%s\" \"INBOX\"", ns->sep_str);
                client_send_line(client, str_c(str));
        }
+       t_pop();
 
        return mail_storage_mailbox_list_deinit(ctx);
 }