diff options
Diffstat (limited to 'loginrec.c')
-rw-r--r-- | loginrec.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -163,7 +163,7 @@ #include "log.h" #include "atomicio.h" -RCSID("$Id: loginrec.c,v 1.41 2002/07/14 22:33:20 tim Exp $"); +RCSID("$Id: loginrec.c,v 1.42 2002/07/14 22:50:51 tim Exp $"); #ifdef HAVE_UTIL_H # include <util.h> @@ -1271,6 +1271,7 @@ wtmpx_get_entry(struct logininfo *li) /* Logouts are recorded as a blank username on a particular line. * So, we just need to find the username in struct utmpx */ if ( wtmpx_islogin(li, &utx) ) { + found = 1; # ifdef HAVE_TV_IN_UTMPX li->tv_sec = utx.ut_tv.tv_sec; # else |