mirror of
https://git.bwaaa.monster/omnisearch
synced 2026-03-25 17:19:02 +02:00
Fixed cache pages when results = 0
This commit is contained in:
committed by
frosty
parent
4fb9103f27
commit
efb9f737fa
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user