From 53e8e794887025cbec7bc053f96c06a55273c40e Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Sun, 15 Oct 2017 16:46:49 +0200 Subject: [PATCH] remove pointless conditional in assignment of ctx->delimiter amends 72c2d695a. --- src/drv_imap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drv_imap.c b/src/drv_imap.c index 56d71cb..bc85aeb 100644 --- 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)