Fixed cache pages when results = 0

This commit is contained in:
Gustavo dos Santos
2026-03-18 15:07:23 +00:00
committed by frosty
parent 4fb9103f27
commit efb9f737fa

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;
}