(login_timeout): add back
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8501 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -41,6 +41,8 @@
|
|||||||
|
|
||||||
RCSID("$Id$");
|
RCSID("$Id$");
|
||||||
|
|
||||||
|
static int login_timeout = 60;
|
||||||
|
|
||||||
static int
|
static int
|
||||||
start_login_process(void)
|
start_login_process(void)
|
||||||
{
|
{
|
||||||
@@ -562,7 +564,7 @@ do_login(const struct passwd *pwd, char *tty, char *ttyn)
|
|||||||
#endif /* KRB4 */
|
#endif /* KRB4 */
|
||||||
|
|
||||||
{
|
{
|
||||||
char *str = login_conf_get_string("environment");
|
const char *str = login_conf_get_string("environment");
|
||||||
char buf[MAXPATHLEN];
|
char buf[MAXPATHLEN];
|
||||||
|
|
||||||
if(str == NULL) {
|
if(str == NULL) {
|
||||||
|
Reference in New Issue
Block a user