Change HAVE_UTMPX_H to HAVE_UTMPX
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@618 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -6,7 +6,7 @@ RCSID("$Id$");
|
||||
|
||||
void utmp_login(char *tty, char *username, char *hostname)
|
||||
{
|
||||
#ifndef HAVE_UTMPX_H
|
||||
#ifndef HAVE_UTMPX
|
||||
struct utmp utmp;
|
||||
struct hostent *he;
|
||||
int fd;
|
||||
@@ -81,5 +81,5 @@ void utmp_login(char *tty, char *username, char *hostname)
|
||||
write(fd, (char *)&utmp, sizeof(struct utmp));
|
||||
close(fd);
|
||||
}
|
||||
#endif /* HAVE_UTMPX_H */
|
||||
#endif /* HAVE_UTMPX */
|
||||
}
|
||||
|
@@ -9,7 +9,7 @@ RCSID("$Id$");
|
||||
int
|
||||
utmpx_login(char *line, char *user, char *host)
|
||||
{
|
||||
#ifndef HAVE_UTMPX_H
|
||||
#ifndef HAVE_UTMPX
|
||||
return 0;
|
||||
#else
|
||||
struct utmpx *ut;
|
||||
@@ -43,5 +43,5 @@ utmpx_login(char *line, char *user, char *host)
|
||||
}
|
||||
endutxent();
|
||||
return (ret);
|
||||
#endif /* HAVE_UTMPX_H */
|
||||
#endif /* HAVE_UTMPX */
|
||||
}
|
||||
|
Reference in New Issue
Block a user