diff options
author | Damien Miller <djm@mindrot.org> | 2000-01-29 10:55:09 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-01-29 10:55:09 +0100 |
commit | 6034fdfd1f5382bf56dee5a7ee5b9e41b52c5240 (patch) | |
tree | 811b8039cee9f9b01c3c98df6c273ea3afaacde6 | |
parent | - Seed OpenSSL's random number generator before generating RSA keypairs (diff) | |
download | openssh-6034fdfd1f5382bf56dee5a7ee5b9e41b52c5240.tar.xz openssh-6034fdfd1f5382bf56dee5a7ee5b9e41b52c5240.zip |
- Compile fix from Andre Lucas <andre.lucas@dial.pipex.com>
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | login.c | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -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 @@ -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; |