commit 0d8bce1675f5e0c89fa0b7dcf4e7cc0d4f11a821
parent 262999d092ffcfe5bb22fa0ea1c97d0481f2a83e
Author: Oswald Buddenhagen <ossi@users.sf.net>
Date: Sun, 13 Apr 2008 09:56:44 +0000
give the implicitly created imap account config the name of the store.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/drv_imap.c b/src/drv_imap.c
@@ -1871,6 +1871,7 @@ imap_parse_store( conffile_t *cfg, store_conf_t **storep, int *err )
if (!store->server) {
store->server = nfmalloc( sizeof(sserver) );
memcpy( store->server, &sserver, sizeof(sserver) );
+ store->server->name = store->gen.name;
} else if (acc_opt) {
error( "IMAP store '%s' has both Account and account-specific options\n", store->gen.name );
*err = 1;