commit 02babb0651ad96e2fc10bf7cf74db03322381296 parent c2209c8470769a6166db14ce3856f57e44e9a3da Author: Oswald Buddenhagen <ossi@users.sf.net> Date: Mon, 28 Mar 2005 10:26:39 +0000 fix inverted condition leading to endless loop when message is changed while isync is running. Diffstat:
M | src/drv_maildir.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/drv_maildir.c b/src/drv_maildir.c @@ -877,7 +877,7 @@ maildir_again( maildir_store_t *ctx, maildir_message_t *msg, const char *fn ) } if ((ret = maildir_rescan( ctx )) != DRV_OK) return ret; - return (msg->gen.status & M_DEAD) ? DRV_OK : DRV_MSG_BAD; + return (msg->gen.status & M_DEAD) ? DRV_MSG_BAD : DRV_OK; } static int