This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Inetutils ".
The branch, master has been updated
via de6d5ba5cf6cd3757ff08e62aaeb2e301d634dcd (commit)
from 9820338b6e19af403d97152b816372f012d43789 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=de6d5ba5cf6cd3757ff08e62aaeb2e301d634dcd
commit de6d5ba5cf6cd3757ff08e62aaeb2e301d634dcd
Author: Mats Erik Andersson <[email protected]>
Date: Thu Aug 18 03:04:26 2011 +0200
libinetutils.a: Missing variable in UTMPX code.
diff --git a/ChangeLog b/ChangeLog
index 40cd3ec..b71a316 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-08-18 Mats Erik Andersson <[email protected]>
+
+ * libinetutils/utmp_logout.c (utmp_logout) [UTMPX]: Insert missing
+ variable TV in right-hand side.
+
2011-08-17 Giuseppe Scrivano <[email protected]>
* bootstrap.conf (gnulib_modules): Use snippet/unused-parameter instead
diff --git a/libinetutils/utmp_logout.c b/libinetutils/utmp_logout.c
index e954c63..fed296f 100644
--- a/libinetutils/utmp_logout.c
+++ b/libinetutils/utmp_logout.c
@@ -76,8 +76,8 @@ utmp_logout (char *line)
ut->ut_exit.e_termination = 0;
ut->ut_exit.e_exit = 0;
gettimeofday (&tv, 0);
- ut->ut_tv.tv_sec = tv_sec;
- ut->ut_tv.tv_usec = tv_usec;
+ ut->ut_tv.tv_sec = tv.tv_sec;
+ ut->ut_tv.tv_usec = tv.tv_usec;
pututxline (ut);
updwtmpx (PATH_WTMPX, ut);
}
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
libinetutils/utmp_logout.c | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU Inetutils
_______________________________________________
Commit-inetutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/commit-inetutils