summaryrefslogtreecommitdiff
path: root/src/opentracker.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/opentracker.c')
-rw-r--r--src/opentracker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opentracker.c b/src/opentracker.c
index 60a6d8c..8de3fc1 100644
--- a/src/opentracker.c
+++ b/src/opentracker.c
@@ -151,7 +151,7 @@ static void *server_mainloop(void *args) {
151 while ((sock = workqueue_popresult(&iovec_entries, &iovector, &is_partial)) != -1) 151 while ((sock = workqueue_popresult(&iovec_entries, &iovector, &is_partial)) != -1)
152 http_sendiovecdata(sock, &ws, iovec_entries, iovector, is_partial); 152 http_sendiovecdata(sock, &ws, iovec_entries, iovector, is_partial);
153 153
154 if (time_now_seconds() > next_timeout_check) { 154 if (time_is_past(next_timeout_check)) {
155 int cursor = 0; 155 int cursor = 0;
156 156
157 while ((sock = fdstate_next_expired(time_now_seconds(), &cursor)) != -1) 157 while ((sock = fdstate_next_expired(time_now_seconds(), &cursor)) != -1)