mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Fix get_opt_bool() call and finish backport of process_head() split.
This commit is contained in:
parent
bd0a6f6f7d
commit
6e89b39ed0
@ -450,7 +450,7 @@ check_head_for_cache_control(struct html_context *html_context,
|
||||
int no_cache = 0;
|
||||
time_t expires = 0;
|
||||
|
||||
if (get_opt_bool("document.cache.ignore_cache_control", NULL))
|
||||
if (get_opt_bool("document.cache.ignore_cache_control"))
|
||||
return;
|
||||
|
||||
/* XXX: Code duplication with HTTP protocol backend. */
|
||||
|
Loading…
Reference in New Issue
Block a user