Commit 64771f22 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix typo in source expiration code.

parent 18b8ac8e
...@@ -152,11 +152,11 @@ expire_sources() ...@@ -152,11 +152,11 @@ expire_sources()
if(srcs[i].time > now.tv_sec) if(srcs[i].time > now.tv_sec)
/* clock stepped */ /* clock stepped */
srcs[i].time = now.tv_sec; srcs[i].time = now.tv_sec;
if(srcs[i].time < now.tv_sec - SOURCE_GC_TIME) if(srcs[i].time < now.tv_sec - SOURCE_GC_TIME) {
continue;
rc = flush_source(&srcs[i]); rc = flush_source(&srcs[i]);
changed = changed || rc; changed = changed || rc;
} }
}
return changed; return changed;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment