Handle UTMPX_DOES_UTMP_LOGGING.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@925 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Björn Groenvall
1996-11-02 17:02:28 +00:00
parent 7ddb5a0a21
commit 31034e76c9

View File

@@ -40,6 +40,10 @@
RCSID("$Id$");
#ifdef UTMPX_DOES_UTMP_LOGGING
void utmp_login(char *tty, char *username, char *hostname) { return; }
#else
/* update utmp and wtmp - the BSD way */
void utmp_login(char *tty, char *username, char *hostname)
@@ -119,3 +123,4 @@ void utmp_login(char *tty, char *username, char *hostname)
close(fd);
}
}
#endif /* !UTMPX_DOES_UTMP_LOGGING */