wrong args
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@236 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -34,7 +34,7 @@ utmpx_login(char *line, char *user, char *host)
|
|||||||
if (ut->ut_syslen > sizeof(ut->ut_host))
|
if (ut->ut_syslen > sizeof(ut->ut_host))
|
||||||
ut->ut_syslen = sizeof(ut->ut_host);
|
ut->ut_syslen = sizeof(ut->ut_host);
|
||||||
ut->ut_type = USER_PROCESS;
|
ut->ut_type = USER_PROCESS;
|
||||||
gettimeofday(&(ut->ut_tv));
|
gettimeofday(&(ut->ut_tv), 0);
|
||||||
pututxline(ut);
|
pututxline(ut);
|
||||||
updwtmpx(WTMPX_FILE, ut);
|
updwtmpx(WTMPX_FILE, ut);
|
||||||
ret = 0;
|
ret = 0;
|
||||||
|
Reference in New Issue
Block a user