diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | loginrec.c | 3 |
2 files changed, 5 insertions, 2 deletions
@@ -7,6 +7,8 @@ | |||
7 | - (tim) [ssh_prng_cmds.in] Bug 323 arp -n flag doesn't exist under Solaris. | 7 | - (tim) [ssh_prng_cmds.in] Bug 323 arp -n flag doesn't exist under Solaris. |
8 | report by chris@by-design.net | 8 | report by chris@by-design.net |
9 | - (tim) [loginrec.c] Bug 347: Fix typo (WTMPX_FILE) report by rodney@bond.net | 9 | - (tim) [loginrec.c] Bug 347: Fix typo (WTMPX_FILE) report by rodney@bond.net |
10 | - (tim) [loginrec.c] Bug 348: add missing found = 1; to wtmpx_islogin() | ||
11 | report by rodney@bond.net | ||
10 | 12 | ||
11 | 20020712 | 13 | 20020712 |
12 | - (tim) [Makefile.in] quiet down install-files: and check-user: | 14 | - (tim) [Makefile.in] quiet down install-files: and check-user: |
@@ -1359,4 +1361,4 @@ | |||
1359 | - (stevesk) entropy.c: typo in debug message | 1361 | - (stevesk) entropy.c: typo in debug message |
1360 | - (djm) ssh-keygen -i needs seeded RNG; report from markus@ | 1362 | - (djm) ssh-keygen -i needs seeded RNG; report from markus@ |
1361 | 1363 | ||
1362 | $Id: ChangeLog,v 1.2365 2002/07/14 22:33:20 tim Exp $ | 1364 | $Id: ChangeLog,v 1.2366 2002/07/14 22:50:51 tim Exp $ |
diff --git a/loginrec.c b/loginrec.c index 382141b9a..df4abeb79 100644 --- a/loginrec.c +++ b/loginrec.c | |||
@@ -163,7 +163,7 @@ | |||
163 | #include "log.h" | 163 | #include "log.h" |
164 | #include "atomicio.h" | 164 | #include "atomicio.h" |
165 | 165 | ||
166 | RCSID("$Id: loginrec.c,v 1.41 2002/07/14 22:33:20 tim Exp $"); | 166 | RCSID("$Id: loginrec.c,v 1.42 2002/07/14 22:50:51 tim Exp $"); |
167 | 167 | ||
168 | #ifdef HAVE_UTIL_H | 168 | #ifdef HAVE_UTIL_H |
169 | # include <util.h> | 169 | # include <util.h> |
@@ -1271,6 +1271,7 @@ wtmpx_get_entry(struct logininfo *li) | |||
1271 | /* Logouts are recorded as a blank username on a particular line. | 1271 | /* Logouts are recorded as a blank username on a particular line. |
1272 | * So, we just need to find the username in struct utmpx */ | 1272 | * So, we just need to find the username in struct utmpx */ |
1273 | if ( wtmpx_islogin(li, &utx) ) { | 1273 | if ( wtmpx_islogin(li, &utx) ) { |
1274 | found = 1; | ||
1274 | # ifdef HAVE_TV_IN_UTMPX | 1275 | # ifdef HAVE_TV_IN_UTMPX |
1275 | li->tv_sec = utx.ut_tv.tv_sec; | 1276 | li->tv_sec = utx.ut_tv.tv_sec; |
1276 | # else | 1277 | # else |