Commit 1261ae75 authored by Cedric Roux's avatar Cedric Roux

update remote_old.c to deal with time in events

parent aacb2ff7
......@@ -94,7 +94,13 @@ void get_message(int s)
int32_t size;
int m;
#ifdef T_SEND_TIME
struct timespec t;
#endif
if (GET(s, &size, 4) != 4) abort();
#ifdef T_SEND_TIME
if (GET(s, &t, sizeof(struct timespec)) != sizeof(struct timespec)) abort();
#endif
if (GET(s, &m, sizeof(int)) != sizeof(int)) abort();
switch (m) {
case T_first: {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment