From f63c5e78c33c5621b03594dd927b8a44651a584c Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Fri, 17 Mar 2017 19:37:06 +0100 Subject: Fix timestamps --- command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command.c b/command.c index f5ad077..50b9534 100644 --- a/command.c +++ b/command.c @@ -13,7 +13,7 @@ static i64 make_timestamp(void){ struct timeval tv; gettimeofday(&tv,NULL); - return (i64)tv.tv_sec+tv.tv_usec; + return (i64)tv.tv_sec*1000000+tv.tv_usec; } -- cgit v1.2.3-54-g00ecf