aboutsummaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-03-17 19:37:06 +0100
committertomsmeding <tom.smeding@gmail.com>2017-03-17 19:37:06 +0100
commitf63c5e78c33c5621b03594dd927b8a44651a584c (patch)
treedc3bfa325424a1a582f610ac028b456f34e9b910 /command.c
parent8ac173549537c25654012419f0f66a351c65f8cf (diff)
Fix timestamps
Diffstat (limited to 'command.c')
-rw-r--r--command.c2
1 files changed, 1 insertions, 1 deletions
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;
}