[Bug 1032] PrintLastLog is not working with UseLogin yes

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu May 19 12:17:04 EST 2005


http://bugzilla.mindrot.org/show_bug.cgi?id=1032





------- Additional Comments From djm at mindrot.org  2005-05-19 12:17 -------
(From update of attachment 905)
> #ifdef LOGIN_NEEDS_UTMPX
>-void   record_utmp_only(pid_t, const char *, const char *, const char *,
>+#ifdef __hpux
>+void   record_utmp_only(pid_t, const char *, const char *, uid_t, const char *,
>                struct sockaddr *, socklen_t);
>+#else
>+void    record_utmp_only(pid_t, const char *, const char *, const char *,
>+               struct sockaddr *, socklen_t);
>+#endif

The prototype should never be dependant on the OS in use - that is the whole
point of the loginrec.c code. Please read the long coment at the top of
loginrec.c.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list