diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-10-26 15:56:55 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-10-26 15:56:55 +0000 |
commit | 9197c59493b895972a3dc4026461c019e48d29dc (patch) | |
tree | 2d8c8dde1ea0934cfc256e61e9bb995db15f6173 /loginrec.c | |
parent | 9335669e3a804ebd50132038eae00bccba7ab43f (diff) | |
download | openssh-git-9197c59493b895972a3dc4026461c019e48d29dc.tar.gz |
- (bal) Set the correct current time in login_utmp_only(). Patch by
Wayne Davison <wayned@users.sourceforge.net>
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.36 2001/10/22 06:49:23 djm Exp $"); +RCSID("$Id: loginrec.c,v 1.37 2001/10/26 15:56:56 mouring Exp $"); #ifdef HAVE_UTIL_H # include <util.h> @@ -448,6 +448,7 @@ int login_utmp_only(struct logininfo *li) { li->type = LTYPE_LOGIN; + login_set_current_time(li); # ifdef USE_UTMP utmp_write_entry(li); # endif |