update remote_old.c to deal with time in events

This commit is contained in:
Cedric Roux
2016-05-11 18:32:54 +02:00
parent aacb2ff7c2
commit 1261ae753a
+6
View File
@@ -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: {