summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--login.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 30c215700..affee131a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
120000127 120000127
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
520000126 620000126
6 - Released 1.2.2 stable 7 - Released 1.2.2 stable
diff --git a/login.c b/login.c
index 485b9d5e9..54d442052 100644
--- a/login.c
+++ b/login.c
@@ -18,7 +18,7 @@
18 */ 18 */
19 19
20#include "includes.h" 20#include "includes.h"
21RCSID("$Id: login.c,v 1.20 2000/01/26 00:04:48 damien Exp $"); 21RCSID("$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;