Fixed cache pages when results = 0

This commit is contained in:
Gustavo dos Santos
2026-03-18 11:19:15 -04:00
committed by frosty
parent 4fb9103f27
commit efb9f737fa
+4
View File
@@ -32,6 +32,10 @@ int check_cache_for_job(ScrapeJob *job) {
}
free(cached_data);
free(key);
if (job->results_count == 0)
return 0;
return 1;
}