isync

mailbox synchronization program
git clone https://git.code.sf.net/p/isync/isync
Log | Files | Refs | README | LICENSE

commit 0f7c231cc2f5753ed57005f50d7805b82df257f8
parent bf59636f0f0bf8767f098a2bc689f10476414400
Author: Oswald Buddenhagen <ossi@users.sf.net>
Date:   Sun,  5 Jun 2022 19:28:35 +0200

fix bogus complaints about missing Store/Account references

... when the reference is simply invalid (we already get a complaint
about that).

Diffstat:
Msrc/config.c | 1+
Msrc/drv_imap.c | 1+
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/config.c b/src/config.c @@ -505,6 +505,7 @@ load_config( const char *where ) goto stpcom; } } + channel->stores[fn] = (void *)~0; error( "%s:%d: unknown store '%s'\n", cfile.file, cfile.line, cfile.val + 1 ); cfile.err = 1; diff --git a/src/drv_imap.c b/src/drv_imap.c @@ -3679,6 +3679,7 @@ imap_parse_store( conffile_t *cfg, store_conf_t **storep ) for (srv = servers; srv; srv = srv->next) if (srv->name && !strcmp( srv->name, cfg->val )) goto gotsrv; + store->server = (void *)~0; error( "%s:%d: unknown IMAP account '%s'\n", cfg->file, cfg->line, cfg->val ); cfg->err = 1; continue;