X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/90be05ea066850842c6445f8432df6f260ea75fb..102def36c2be6458b62cfc51188707513e90ad99:/timer.h?ds=sidebyside 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 }