Mercurial > dovecot > original-hg > dovecot-1.2
comparison src/imap/imap-status.c @ 6940:414c9d631a81 HEAD
Replaced t_push/t_pop calls with T_FRAME*() macros.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 05 Dec 2007 17:47:44 +0200 |
parents | aeee5076f99f |
children | 7ed926ed7aa4 |
comparison
equal
deleted
inserted
replaced
6939:c7b42fea5fcc | 6940:414c9d631a81 |
---|---|
74 enum mailbox_status_items items, | 74 enum mailbox_status_items items, |
75 const struct mailbox_status *status) | 75 const struct mailbox_status *status) |
76 { | 76 { |
77 string_t *str; | 77 string_t *str; |
78 | 78 |
79 t_push(); | |
80 str = t_str_new(128); | 79 str = t_str_new(128); |
81 str_append(str, "* STATUS "); | 80 str_append(str, "* STATUS "); |
82 imap_quote_append_string(str, mailbox, FALSE); | 81 imap_quote_append_string(str, mailbox, FALSE); |
83 str_append(str, " ("); | 82 str_append(str, " ("); |
84 | 83 |
96 if (items != 0) | 95 if (items != 0) |
97 str_truncate(str, str_len(str)-1); | 96 str_truncate(str, str_len(str)-1); |
98 str_append_c(str, ')'); | 97 str_append_c(str, ')'); |
99 | 98 |
100 client_send_line(client, str_c(str)); | 99 client_send_line(client, str_c(str)); |
101 t_pop(); | |
102 } | 100 } |