give the implicitly created imap account config the name of the store.
This commit is contained in:
parent
262999d092
commit
0d8bce1675
|
@ -1871,6 +1871,7 @@ imap_parse_store( conffile_t *cfg, store_conf_t **storep, int *err )
|
||||||
if (!store->server) {
|
if (!store->server) {
|
||||||
store->server = nfmalloc( sizeof(sserver) );
|
store->server = nfmalloc( sizeof(sserver) );
|
||||||
memcpy( store->server, &sserver, sizeof(sserver) );
|
memcpy( store->server, &sserver, sizeof(sserver) );
|
||||||
|
store->server->name = store->gen.name;
|
||||||
} else if (acc_opt) {
|
} else if (acc_opt) {
|
||||||
error( "IMAP store '%s' has both Account and account-specific options\n", store->gen.name );
|
error( "IMAP store '%s' has both Account and account-specific options\n", store->gen.name );
|
||||||
*err = 1;
|
*err = 1;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user