isync

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

commit 29b07ca7a6ade43fe47667045fc1e24353dc0ea7
parent 060430b23359d3cd8ad7b1531609c329ef22e9c4
Author: Oswald Buddenhagen <ossi@users.sf.net>
Date:   Wed,  2 Jul 2014 08:40:41 +0200

actually print the faulty mailbox name, not some garbage

REFMAIL: CAF_KswU7aBS7unnK+rdZy1PG_8SZUAW=tcg75HixDLLE0w3Lhw@mail.gmail.com

Diffstat:
Msrc/sync.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sync.c b/src/sync.c @@ -605,7 +605,7 @@ sync_boxes( store_t *ctx[], const char *names[], channel_conf_t *chan, if (!ctx[t]->conf->flat_delim) { ctx[t]->name = nfstrdup( ctx[t]->orig_name ); } else if (map_name( ctx[t]->orig_name, &ctx[t]->name, 0, "/", ctx[t]->conf->flat_delim ) < 0) { - error( "Error: canonical mailbox name '%s' contains flattened hierarchy delimiter\n", ctx[t]->name ); + error( "Error: canonical mailbox name '%s' contains flattened hierarchy delimiter\n", ctx[t]->orig_name ); svars->ret = SYNC_FAIL; sync_bail3( svars ); return;