comparison src/imap/client.c @ 8467:03c418eadc8b HEAD

mail_user_*() now handles home directory lookups when necessary. Namespace owner is now a pointer to struct mail_user rather than a string.
author Timo Sirainen <tss@iki.fi>
date Fri, 21 Nov 2008 18:32:02 +0200
parents 6e9100795d89
children 983d38de06c9
comparison
equal deleted inserted replaced
8466:4553e28eb4f5 8467:03c418eadc8b
160 160
161 if (client->mailbox != NULL) { 161 if (client->mailbox != NULL) {
162 client_search_updates_free(client); 162 client_search_updates_free(client);
163 mailbox_close(&client->mailbox); 163 mailbox_close(&client->mailbox);
164 } 164 }
165 mail_user_deinit(&client->user); 165 mail_user_unref(&client->user);
166 166
167 if (client->free_parser != NULL) 167 if (client->free_parser != NULL)
168 imap_parser_destroy(&client->free_parser); 168 imap_parser_destroy(&client->free_parser);
169 if (client->io != NULL) 169 if (client->io != NULL)
170 io_remove(&client->io); 170 io_remove(&client->io);