From 9dfdf242dcaad16a5069ac95834eff8d60324058 Mon Sep 17 00:00:00 2001 From: laforge Date: Fri, 12 Sep 2003 09:00:21 +0000 Subject: fix printing of time, bug introduced in 1.01 (Henry Yang) --- ulogd/extensions/ulogd_LOGEMU.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ulogd/extensions') diff --git a/ulogd/extensions/ulogd_LOGEMU.c b/ulogd/extensions/ulogd_LOGEMU.c index 33f30a5..b789c7a 100644 --- a/ulogd/extensions/ulogd_LOGEMU.c +++ b/ulogd/extensions/ulogd_LOGEMU.c @@ -1,4 +1,4 @@ -/* ulogd_LOGEMU.c, Version $Revision: 1.12 $ +/* ulogd_LOGEMU.c, Version $Revision: 1.13 $ * * ulogd output target for syslog logging emulation * @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: ulogd_LOGEMU.c,v 1.12 2003/01/13 13:36:26 laforge Exp $ + * $Id: ulogd_LOGEMU.c,v 1.13 2003/08/23 11:47:09 laforge Exp $ * */ @@ -118,7 +118,7 @@ int _output_logemu(ulog_iret_t *res) char *tmp; time_t now; - now = (time_t) GET_VALUE(1).ui32; + now = (time_t) GET_VALUE(0).ui32; timestr = ctime(&now) + 4; /* truncate time */ -- cgit v1.2.3