- Compile fix from Andre Lucas <andre.lucas@dial.pipex.com>

This commit is contained in:
Damien Miller 2000-01-29 20:55:09 +11:00
parent f07390e90d
commit 6034fdfd1f
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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;