Browse Source

fix crash due to uninited var when parsing IMAPServer. Thanks to

CCMAIL: Antoine Reilles <tonio@NetBSD.org>
REF: <20070118182534.GA22288@arcelot.loria.fr>
wip/maildir-uid-dupes-test
Oswald Buddenhagen 18 years ago
parent
commit
625f592fb7
  1. 1
      src/drv_imap.c

1
src/drv_imap.c

@ -1689,6 +1689,7 @@ imap_parse_store( conffile_t *cfg, store_conf_t **storep, int *err )
*serverapp = server;
serverapp = &server->next;
store = 0;
*storep = 0;
} else if (!strcasecmp( "IMAPStore", cfg->cmd )) {
store = nfcalloc( sizeof(*store) );
store->gen.driver = &imap_driver;

Loading…
Cancel
Save