changeset 5175:7811499148ef HEAD

PAM dead-child timeout function was called 1000 times too often.
author Timo Sirainen <tss@iki.fi>
date Thu, 22 Feb 2007 14:23:52 +0200
parents a911767f89c0
children db7b28a3ffbd
files src/auth/passdb-pam.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/auth/passdb-pam.c	Tue Feb 20 14:00:05 2007 +0200
+++ b/src/auth/passdb-pam.c	Thu Feb 22 14:23:52 2007 +0200
@@ -26,7 +26,7 @@
 #include <sys/wait.h>
 
 #define PAM_CHILD_TIMEOUT (60*2)
-#define PAM_CHILD_CHECK_TIMEOUT 10
+#define PAM_CHILD_CHECK_TIMEOUT (10*1000)
 
 #ifdef HAVE_SECURITY_PAM_APPL_H
 #  include <security/pam_appl.h>