summaryrefslogtreecommitdiff
path: root/loginrec.c
diff options
context:
space:
mode:
Diffstat (limited to 'loginrec.c')
-rw-r--r--loginrec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loginrec.c b/loginrec.c
index 8df2e78e2..00dcc3280 100644
--- a/loginrec.c
+++ b/loginrec.c
@@ -170,7 +170,7 @@
170#include "xmalloc.h" 170#include "xmalloc.h"
171#include "loginrec.h" 171#include "loginrec.h"
172 172
173RCSID("$Id: loginrec.c,v 1.8 2000/06/19 09:11:30 andre Exp $"); 173RCSID("$Id: loginrec.c,v 1.9 2000/06/20 03:49:11 djm Exp $");
174 174
175/** 175/**
176 ** prototypes for helper functions in this file 176 ** prototypes for helper functions in this file
@@ -1196,7 +1196,7 @@ static int
1196wtmpx_islogin(struct logininfo *li, struct utmpx *utx) 1196wtmpx_islogin(struct logininfo *li, struct utmpx *utx)
1197{ 1197{
1198 if ( strncmp(li->username, utx->ut_user, 1198 if ( strncmp(li->username, utx->ut_user,
1199 MIN_SIZEOF(li->username, utx->us_user)) == 0 ) { 1199 MIN_SIZEOF(li->username, utx->ut_user)) == 0 ) {
1200#ifdef HAVE_TYPE_IN_UTMPX 1200#ifdef HAVE_TYPE_IN_UTMPX
1201 if (utx->ut_type == USER_PROCESS) 1201 if (utx->ut_type == USER_PROCESS)
1202 return 1; 1202 return 1;