From d2ccc93584849a2981a5194c4d31b0c5617d3ee1 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Sun, 13 Apr 2008 09:57:27 +0000 Subject: [PATCH] backport: give the implicitly created imap account config the name of the store. --- src/drv_imap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/drv_imap.c b/src/drv_imap.c index 39663b8..ae85524 100644 --- a/src/drv_imap.c +++ b/src/drv_imap.c @@ -1815,6 +1815,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) { fprintf( stderr, "IMAP store '%s' has both Account and account-specific options\n", store->gen.name ); *err = 1;