Browse Source

fix inverted condition leading to endless loop when message is changed

while isync is running.
wip/ssl-fprint
Oswald Buddenhagen 20 years ago
parent
commit
02babb0651
  1. 2
      src/drv_maildir.c

2
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) if ((ret = maildir_rescan( ctx )) != DRV_OK)
return ret; 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 static int

Loading…
Cancel
Save