Even when there are utmpx files on this system we should also log to

the utmp files. If there are no utmp files we of course don't have to
log to them.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@918 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Björn Groenvall
1996-11-01 16:46:47 +00:00
parent 18eadd1cae
commit fc21989df0

View File

@@ -44,7 +44,6 @@ RCSID("$Id$");
void utmp_login(char *tty, char *username, char *hostname)
{
#ifndef HAVE_UTMPX
struct utmp utmp;
struct hostent *he;
int fd;
@@ -119,5 +118,4 @@ void utmp_login(char *tty, char *username, char *hostname)
write(fd, (char *)&utmp, sizeof(struct utmp));
close(fd);
}
#endif /* HAVE_UTMPX */
}