- (djm) Typo in loginrec.c
This commit is contained in:
parent
edb82929fa
commit
d9a0a20671
|
@ -170,7 +170,7 @@
|
|||
#include "xmalloc.h"
|
||||
#include "loginrec.h"
|
||||
|
||||
RCSID("$Id: loginrec.c,v 1.8 2000/06/19 09:11:30 andre Exp $");
|
||||
RCSID("$Id: loginrec.c,v 1.9 2000/06/20 03:49:11 djm Exp $");
|
||||
|
||||
/**
|
||||
** prototypes for helper functions in this file
|
||||
|
@ -1196,7 +1196,7 @@ static int
|
|||
wtmpx_islogin(struct logininfo *li, struct utmpx *utx)
|
||||
{
|
||||
if ( strncmp(li->username, utx->ut_user,
|
||||
MIN_SIZEOF(li->username, utx->us_user)) == 0 ) {
|
||||
MIN_SIZEOF(li->username, utx->ut_user)) == 0 ) {
|
||||
#ifdef HAVE_TYPE_IN_UTMPX
|
||||
if (utx->ut_type == USER_PROCESS)
|
||||
return 1;
|
||||
|
|
Loading…
Reference in New Issue