commit 0018bb1d4bb38a644ebcd178f7d8836b139b8684
Author: Oswald Buddenhagen <o...@kde.org>
Date:   Sat Jul 23 16:13:17 2011 +0200

    make creation of trash folder independent from -C option
    
    the trash is not a box which is synced, but a "byproduct" of
    manipulating synced boxes, so it makes no sense to bind it to the same
    option.

 src/drv_maildir.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/drv_maildir.c b/src/drv_maildir.c
index 3a363a6..bda598e 100644
--- a/src/drv_maildir.c
+++ b/src/drv_maildir.c
@@ -1029,7 +1029,7 @@ maildir_store_msg( store_t *gctx, msg_data_t *data, int 
to_trash,
                        cb( DRV_BOX_BAD, 0, aux );
                        return;
                }
-               if ((ret = maildir_validate( gctx->conf->path, 
gctx->conf->trash, gctx->opts & OPEN_CREATE, ctx )) != DRV_OK) {
+               if ((ret = maildir_validate( gctx->conf->path, 
gctx->conf->trash, 1, ctx )) != DRV_OK) {
                        free( data->data );
                        cb( ret, 0, aux );
                        return;

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to