login.c error

Josh Durham jmd at aoe.vt.edu
Wed Feb 2 07:20:39 EST 2000


I had a compile-time error in login.c .. It looks like someone was copying
and pasting code and didn't check the variable names.  Here's the diff:

diff login.c.orig login.c
258c258
<               snprintf(buf, sizeof(buf), "%s/%s", lastlog, logname);
---
>               snprintf(buf, sizeof(buf), "%s/%s", lastlog, user);


- Josh

* Josh Durham | AOE at Virginia Tech | (540) 231-9061 jdurham at vt.edu *






More information about the openssh-unix-dev mailing list