fix inverted condition leading to endless loop when message is changed
while isync is running.
This commit is contained in:
parent
c2209c8470
commit
02babb0651
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user