From: Timo Sirainen Date: Sun, 6 Mar 2011 22:16:26 +0000 (+0200) Subject: dsync: Fixed a timeout/crash when saving messages to remote dsync. X-Git-Tag: 2.0.11~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=452eb0c73ed71b5fd47b73f09c81f5924fff64c2;p=thirdparty%2Fdovecot%2Fcore.git dsync: Fixed a timeout/crash when saving messages to remote dsync. --- diff --git a/src/dsync/dsync-proxy-client.c b/src/dsync/dsync-proxy-client.c index 95b929f6ca..cc54a1c0fa 100644 --- a/src/dsync/dsync-proxy-client.c +++ b/src/dsync/dsync-proxy-client.c @@ -455,7 +455,7 @@ static bool proxy_client_worker_is_output_full(struct dsync_worker *_worker) struct proxy_client_dsync_worker *worker = (struct proxy_client_dsync_worker *)_worker; - if (worker->save_io != NULL) { + if (worker->save_input != NULL) { /* we haven't finished sending a message save, so we're full. */ return TRUE; }