fixed main

This commit is contained in:
Johannes Reinhardt 2008-07-12 10:50:36 +02:00
parent 641ab17995
commit 9423868339

View File

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