Ver Fonte

give the implicitly created imap account config the name of the store.

Oswald Buddenhagen há 17 anos atrás
pai
commit
0d8bce1675
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      src/drv_imap.c

+ 1 - 0
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;