Mercurial > dovecot > core-2.2
changeset 14106:e29bc3eb0ba6
dsync: Fixed a potential assert crash when saving mails.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 09 Feb 2012 20:38:16 +0200 |
parents | 98a59ac1f3d0 |
children | f9b78a17018c |
files | src/doveadm/dsync/dsync-worker-local.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/doveadm/dsync/dsync-worker-local.c Thu Feb 09 20:37:24 2012 +0200 +++ b/src/doveadm/dsync/dsync-worker-local.c Thu Feb 09 20:38:16 2012 +0200 @@ -1628,7 +1628,7 @@ dsync_worker_save_callback_t *callback; ssize_t ret; - while ((ret = i_stream_read(worker->save_input)) > 0) { + while ((ret = i_stream_read(worker->save_input)) > 0 || ret == -2) { if (mailbox_save_continue(worker->save_ctx) < 0) break; }