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

    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)

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to