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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user