]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
dsync: Fixed a timeout/crash when saving messages to remote dsync.
authorTimo Sirainen <tss@iki.fi>
Sun, 6 Mar 2011 22:16:26 +0000 (00:16 +0200)
committerTimo Sirainen <tss@iki.fi>
Sun, 6 Mar 2011 22:16:26 +0000 (00:16 +0200)
src/dsync/dsync-proxy-client.c

index 95b929f6caf19f235cfadc30f413a6f212292e3a..cc54a1c0fae4876ba366b49f10a36b9bce7ebb70 100644 (file)
@@ -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;
        }