From 3cb49f9d6ae73c21f798bdd379551348b54a71b4 Mon Sep 17 00:00:00 2001 From: Justin Otherguy Date: Wed, 30 Nov 2011 22:57:56 +0100 Subject: [PATCH] timestamp -> ts (thx to JayD) --- src/meter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meter.c b/src/meter.c index 4721ae0..f604954 100644 --- a/src/meter.c +++ b/src/meter.c @@ -118,7 +118,7 @@ double tvtod(struct timeval tv) { struct timeval dtotv(double ts) { struct timeval tv; - tv.tv_usec = modf(timestamp, &tv.tv_sec); + tv.tv_usec = modf(ts, &tv.tv_sec); return tv; }