Make it compile without -DNO_PAM again.
This commit is contained in:
parent
bb294ac6e9
commit
9b376c9084
@ -6,7 +6,7 @@ SRCS= rlogind.c
|
||||
MAN8= rlogind.8
|
||||
DPADD= ${LIBUTIL}
|
||||
LDADD= -lutil
|
||||
CFLAGS+= -Wall -DNO_PAM -DINET6
|
||||
CFLAGS+= -Wall -DINET6
|
||||
|
||||
.if defined(NOPAM)
|
||||
CFLAGS+= -DNO_PAM
|
||||
|
@ -570,6 +570,10 @@ int
|
||||
do_rlogin(dest)
|
||||
union sockunion *dest;
|
||||
{
|
||||
#ifndef NO_PAM
|
||||
int retval;
|
||||
#endif
|
||||
|
||||
getstr(rusername, sizeof(rusername), "remuser too long");
|
||||
getstr(lusername, sizeof(lusername), "locuser too long");
|
||||
getstr(term+ENVSIZE, sizeof(term)-ENVSIZE, "Terminal type too long");
|
||||
|
Loading…
Reference in New Issue
Block a user