(start_login): moved `user' so it works even if !defined(HAVE_UTMPX_H)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3584 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1241,9 +1241,11 @@ static int addarg(struct arg_val*, char*);
|
|||||||
* function will turn us into the login process.
|
* function will turn us into the login process.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void start_login(char *host, int autologin, char *name)
|
void
|
||||||
|
start_login(char *host, int autologin, char *name)
|
||||||
{
|
{
|
||||||
struct arg_val argv;
|
struct arg_val argv;
|
||||||
|
char *user;
|
||||||
|
|
||||||
#ifdef HAVE_UTMPX_H
|
#ifdef HAVE_UTMPX_H
|
||||||
char id_buf[3];
|
char id_buf[3];
|
||||||
@@ -1252,7 +1254,6 @@ void start_login(char *host, int autologin, char *name)
|
|||||||
struct utmpx utmpx;
|
struct utmpx utmpx;
|
||||||
struct timeval tmp;
|
struct timeval tmp;
|
||||||
char *clean_tty;
|
char *clean_tty;
|
||||||
char *user;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Create utmp entry for child
|
* Create utmp entry for child
|
||||||
|
Reference in New Issue
Block a user