aboutsummaryrefslogtreecommitdiff
path: root/aepd/websocket-protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'aepd/websocket-protocol.c')
-rw-r--r--aepd/websocket-protocol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/aepd/websocket-protocol.c b/aepd/websocket-protocol.c
index df9d96a..a59df63 100644
--- a/aepd/websocket-protocol.c
+++ b/aepd/websocket-protocol.c
@@ -214,7 +214,7 @@ bad_caliper:
}
/*
- * do we need to isse a sync timestamp?
+ * do we need to issue a sync timestamp?
*/
if (pss->issue_timestamp && aepd_shared->chans) {
@@ -236,7 +236,7 @@ bad_caliper:
extent /= aepd_shared->chans * sizeof(double) * 3;
- p += sprintf(p, "t%f %d", aepd_shared->fifo_head_time - ((double)extent * 0.0001), aepd_shared->stop_flag ^ 1);
+ p += sprintf(p, "t%f %f %f %d", aepd_shared->fifo_head_time - ((double)extent * 0.0001), aepd_shared->fifo_tail_time, aepd_shared->fifo_head_time, aepd_shared->stop_flag ^ 1);
goto send;
}