From 102def36c2be6458b62cfc51188707513e90ad99 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Thu, 1 Mar 2012 09:39:45 +0100 Subject: [PATCH] Ooops, fix syntax error. --- timer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/timer.h b/timer.h index b9a2509..7ddc3ee 100644 --- a/timer.h +++ b/timer.h @@ -141,7 +141,8 @@ void timestamp::tv_clear(struct timeval& a) #ifdef HAVE_TIMERCLEAR timerclear(&a); #else - tv.sec = tv.usec = 0; + a.tv_sec = 0; + a.tv_usec = 0; #endif } -- 2.39.5