isync

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

commit 53e8e794887025cbec7bc053f96c06a55273c40e
parent c75001aa7dcc095cb05bd29a08e027b2cae60a44
Author: Oswald Buddenhagen <ossi@users.sf.net>
Date:   Sun, 15 Oct 2017 16:46:49 +0200

remove pointless conditional in assignment of ctx->delimiter

amends 72c2d695a.

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

diff --git a/src/drv_imap.c b/src/drv_imap.c @@ -2250,7 +2250,7 @@ imap_open_store_namespace( imap_store_t *ctx ) ctx->state = SST_HALF; ctx->prefix = cfg->gen.path; - ctx->delimiter[0] = cfg->delimiter ? cfg->delimiter : 0; + ctx->delimiter[0] = cfg->delimiter; if (((!ctx->prefix && cfg->use_namespace) || !cfg->delimiter) && CAP(NAMESPACE)) { /* get NAMESPACE info */ if (!ctx->got_namespace)