mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[perl] ses can be NULL for pre_format_html_hook. Refs #291
This commit is contained in:
parent
e47a482590
commit
88de3ca754
@ -164,7 +164,7 @@ script_hook_pre_format_html(va_list ap, void *data)
|
||||
struct fragment *fragment = get_cache_fragment(cached);
|
||||
char *url = struri(cached->uri);
|
||||
|
||||
if (my_perl && ses && url && cached->length && *fragment->data)
|
||||
if (my_perl && url && cached->length && *fragment->data)
|
||||
do_script_hook_pre_format_html(url, cached, fragment);
|
||||
|
||||
return EVENT_HOOK_STATUS_NEXT;
|
||||
|
Loading…
x
Reference in New Issue
Block a user