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

Fix typo in source expiration code.

parent 18b8ac8e
......@@ -152,10 +152,10 @@ expire_sources()
if(srcs[i].time > now.tv_sec)
/* clock stepped */
srcs[i].time = now.tv_sec;
if(srcs[i].time < now.tv_sec - SOURCE_GC_TIME)
continue;
rc = flush_source(&srcs[i]);
changed = changed || rc;
if(srcs[i].time < now.tv_sec - SOURCE_GC_TIME) {
rc = flush_source(&srcs[i]);
changed = changed || rc;
}
}
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