Pārlūkot izejas kodu

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

Oswald Buddenhagen 17 gadi atpakaļ
vecāks
revīzija
0d8bce1675
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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;