mirror of git://anongit.mindrot.org/openssh.git
- Compile fix from Andre Lucas <andre.lucas@dial.pipex.com>
This commit is contained in:
parent
f07390e90d
commit
6034fdfd1f
|
@ -1,6 +1,7 @@
|
|||
20000127
|
||||
- Seed OpenSSL's random number generator before generating RSA keypairs
|
||||
- Split random collector into seperate file
|
||||
- Compile fix from Andre Lucas <andre.lucas@dial.pipex.com>
|
||||
|
||||
20000126
|
||||
- Released 1.2.2 stable
|
||||
|
|
4
login.c
4
login.c
|
@ -18,7 +18,7 @@
|
|||
*/
|
||||
|
||||
#include "includes.h"
|
||||
RCSID("$Id: login.c,v 1.20 2000/01/26 00:04:48 damien Exp $");
|
||||
RCSID("$Id: login.c,v 1.21 2000/01/29 09:55:10 damien Exp $");
|
||||
|
||||
#if defined(HAVE_UTMPX_H) && defined(USE_UTMPX)
|
||||
# include <utmpx.h>
|
||||
|
@ -210,7 +210,7 @@ record_login(int pid, const char *ttyname, const char *user, uid_t uid,
|
|||
# endif /* HAVE_SYSLEN_IN_UTMPX */
|
||||
# endif
|
||||
#if defined(HAVE_ADDR_IN_UTMPX)
|
||||
if (addr)
|
||||
if (addr) {
|
||||
switch (addr->sa_family) {
|
||||
case AF_INET: {
|
||||
struct sockaddr_in *in = (struct sockaddr_in*)addr;
|
||||
|
|
Loading…
Reference in New Issue