]> AND Private Git Repository - loba.git/commitdiff
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Ooops, fix syntax error.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Thu, 1 Mar 2012 08:39:45 +0000 (09:39 +0100)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Thu, 1 Mar 2012 08:39:45 +0000 (09:39 +0100)
timer.h

diff --git a/timer.h b/timer.h
index b9a25099630063bd41d851cabaed8764fb012222..7ddc3eea1fdd9a151d873e09ef78a72b2683e526 100644 (file)
--- a/timer.h
+++ b/timer.h
@@ -141,7 +141,8 @@ void timestamp::tv_clear(struct timeval& a)
 #ifdef HAVE_TIMERCLEAR
     timerclear(&a);
 #else
 #ifdef HAVE_TIMERCLEAR
     timerclear(&a);
 #else
-    tv.sec = tv.usec = 0;
+    a.tv_sec = 0;
+    a.tv_usec = 0;
 #endif
 }
 
 #endif
 }