diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | login.c | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -1,6 +1,7 @@ | |||
1 | 20000127 | 1 | 20000127 |
2 | - Seed OpenSSL's random number generator before generating RSA keypairs | 2 | - Seed OpenSSL's random number generator before generating RSA keypairs |
3 | - Split random collector into seperate file | 3 | - Split random collector into seperate file |
4 | - Compile fix from Andre Lucas <andre.lucas@dial.pipex.com> | ||
4 | 5 | ||
5 | 20000126 | 6 | 20000126 |
6 | - Released 1.2.2 stable | 7 | - Released 1.2.2 stable |
@@ -18,7 +18,7 @@ | |||
18 | */ | 18 | */ |
19 | 19 | ||
20 | #include "includes.h" | 20 | #include "includes.h" |
21 | RCSID("$Id: login.c,v 1.20 2000/01/26 00:04:48 damien Exp $"); | 21 | RCSID("$Id: login.c,v 1.21 2000/01/29 09:55:10 damien Exp $"); |
22 | 22 | ||
23 | #if defined(HAVE_UTMPX_H) && defined(USE_UTMPX) | 23 | #if defined(HAVE_UTMPX_H) && defined(USE_UTMPX) |
24 | # include <utmpx.h> | 24 | # include <utmpx.h> |
@@ -210,7 +210,7 @@ record_login(int pid, const char *ttyname, const char *user, uid_t uid, | |||
210 | # endif /* HAVE_SYSLEN_IN_UTMPX */ | 210 | # endif /* HAVE_SYSLEN_IN_UTMPX */ |
211 | # endif | 211 | # endif |
212 | #if defined(HAVE_ADDR_IN_UTMPX) | 212 | #if defined(HAVE_ADDR_IN_UTMPX) |
213 | if (addr) | 213 | if (addr) { |
214 | switch (addr->sa_family) { | 214 | switch (addr->sa_family) { |
215 | case AF_INET: { | 215 | case AF_INET: { |
216 | struct sockaddr_in *in = (struct sockaddr_in*)addr; | 216 | struct sockaddr_in *in = (struct sockaddr_in*)addr; |