summaryrefslogtreecommitdiff
path: root/opentracker.c
diff options
context:
space:
mode:
authorerdgeist <>2007-01-08 05:23:04 +0000
committererdgeist <>2007-01-08 05:23:04 +0000
commit8ecfe9a36fafff55b8e6112f709e5ce62a5547f5 (patch)
treef3e96587724a31789dc39614868ab8b296dcb3d9 /opentracker.c
parentac8e26f99bee3a390cf01b0ac7298cb5c5c8e0d8 (diff)
Now we also check, if no io happens
Diffstat (limited to 'opentracker.c')
-rw-r--r--opentracker.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/opentracker.c b/opentracker.c
index 5bccab9..4d65564 100644
--- a/opentracker.c
+++ b/opentracker.c
@@ -391,7 +391,9 @@ allparsed:
391 391
392 for (;;) { 392 for (;;) {
393 int64 i; 393 int64 i;
394 io_wait(); 394 taia_now(&t);
395 taia_addsec(&t,&t,OT_CLIENT_TIMEOUT_CHECKINTERVAL);
396 io_waituntil(t);
395 397
396 taia_now(&t); 398 taia_now(&t);
397 if( taia_less( &next_timeout_check, &t ) ) { 399 if( taia_less( &next_timeout_check, &t ) ) {