[PATCH] Creation of record_failed_login() in sshlogin.c

Darren Tucker dtucker at zip.com.au
Tue Jan 28 08:55:42 EST 2003


Wendy Palm wrote:
> Darren Tucker wrote:
> > My excuse is I don't have a Cray to try it on :-).
> such a lame excuse.....

Heh.  It's already warm in here because of the 2 SPARCs and 1 HPPA
running the tinderbox builds and I don't have 3-phase power.

> i tested it out and while it works, it introduces compiler warnings about the "const"
> in the call line.

Does casting the type keep the compiler happy?  That way you don't lose
the tiny bit of safety on the platforms that don't warn.

	cray_login_failure((char *)user, IA_UDBERR);

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.




More information about the openssh-unix-dev mailing list