From: Arnaud Giersch Date: Thu, 1 Mar 2012 08:39:45 +0000 (+0100) Subject: Ooops, fix syntax error. X-Git-Tag: v0.2~6 X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/commitdiff_plain/102def36c2be6458b62cfc51188707513e90ad99?ds=inline Ooops, fix syntax error. --- 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 }