Commit f21c377b authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix typo in expire_sources.

parent 5d071453
......@@ -212,7 +212,7 @@ expire_sources()
if(src->time < now.tv_sec - SOURCE_GC_TIME) {
free(src);
memmove(sources + i, sources + i + 1,
(source_slots - i - 1) * sizeof(struct source));
(source_slots - i - 1) * sizeof(struct source*));
sources[source_slots - 1] = NULL;
source_slots--;
} else {
......
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