Commit b12f084c authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix typo in source expiration code.

parent 9b244a3d
......@@ -166,7 +166,7 @@ expire_sources()
for(i = 0; i < numsrcs; i++) {
if(!srcs[i].valid)
continue;
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]);
changed = changed || rc;
......
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