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

Wendy Palm wendyp at cray.com
Tue Jan 28 09:06:37 EST 2003


Darren Tucker wrote:

> 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.


excuses, excuses...


>>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);
> 


yep, i figured that's what you'd want to do :)  it works fine.




-- 
wendy palm
Cray OS Sustaining Engineering, Cray Inc.
wendyp at cray.com, 651-605-9154




More information about the openssh-unix-dev mailing list