dovecot-2.1: script-login: Disable alarm after input has been read.

dovecot at dovecot.org dovecot at dovecot.org
Mon Oct 3 19:53:01 EEST 2011


details:   http://hg.dovecot.org/dovecot-2.1/rev/6d1c20b1936c
changeset: 13599:6d1c20b1936c
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Oct 03 20:00:55 2011 +0300
description:
script-login: Disable alarm after input has been read.

diffstat:

 src/util/script-login.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 423cf2ccd1f1 -r 6d1c20b1936c src/util/script-login.c
--- a/src/util/script-login.c	Sun Oct 02 20:26:02 2011 +0300
+++ b/src/util/script-login.c	Mon Oct 03 20:00:55 2011 +0300
@@ -79,6 +79,8 @@
 	if (fd == -1)
 		i_fatal("client fd not received");
 
+	alarm(0);
+
 	/* put everything to environment */
 	env_clean();
 	keys = t_str_new(256);


More information about the dovecot-cvs mailing list