diff --git a/src/path.c b/src/path.c index b85766a..e96b93f 100644 --- a/src/path.c +++ b/src/path.c @@ -59,8 +59,8 @@ void path_execute(trial* t,path* p){ return; } - now = timestamp_get_curts(t); - /*fprintf(stderr,"Now: %d TS: %d\n",now,clock());*/ + now = getcurts(t); + fprintf(stderr,"Now: %d TS: %d\n",now,clock()); /*magic number for latency, send messages that much earlier*/ while(tmp != NULL && now - 20 > tmp->ts){ tmp = (command*) g_queue_pop_head(p->commands);