From 9779ecd1bf4b3d1e74423fdcbf224cc511d1ef15 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sat, 1 Jul 2000 14:12:44 +0000 Subject: [PATCH] (login_timeout): add back git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8501 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/login/login.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/appl/login/login.c b/appl/login/login.c index 09f751627..9ee2ea0aa 100644 --- a/appl/login/login.c +++ b/appl/login/login.c @@ -41,6 +41,8 @@ RCSID("$Id$"); +static int login_timeout = 60; + static int start_login_process(void) { @@ -562,7 +564,7 @@ do_login(const struct passwd *pwd, char *tty, char *ttyn) #endif /* KRB4 */ { - char *str = login_conf_get_string("environment"); + const char *str = login_conf_get_string("environment"); char buf[MAXPATHLEN]; if(str == NULL) {