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

Private GIT Repository
Ooops, fix syntax error.
[loba.git] / 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
-    tv.sec = tv.usec = 0;
+    a.tv_sec = 0;
+    a.tv_usec = 0;
 #endif
 }