]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
dsync: Added missing alarm(0)
authorTimo Sirainen <tss@iki.fi>
Thu, 3 Oct 2013 11:56:23 +0000 (14:56 +0300)
committerTimo Sirainen <tss@iki.fi>
Thu, 3 Oct 2013 11:56:23 +0000 (14:56 +0300)
This didn't really cause any problems normally since the process was usually
just about to die anyway.

src/doveadm/dsync/doveadm-dsync.c

index da5409c39aba4c380d2058a16e51a53d074126b4..dab8bdd7692b71eda99be12e47eac3024523908e 100644 (file)
@@ -405,6 +405,7 @@ static void cmd_dsync_wait_remote(struct dsync_cmd_context *ctx,
                }
                *status_r = -1;
        }
+       alarm(0);
 }
 
 static void cmd_dsync_log_remote_status(int status, bool remote_errors_logged)