mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-26 00:09:41 +03:00
CSS content handler: Ensure fetch hlcache callback handles errorcode.
This commit is contained in:
parent
8180116d96
commit
adc6ceb0bb
@ -109,6 +109,7 @@ html_convert_css_callback(hlcache_handle *css,
|
||||
break;
|
||||
|
||||
case CONTENT_MSG_ERROR:
|
||||
case CONTENT_MSG_ERRORCODE:
|
||||
LOG("stylesheet %s failed: %s", nsurl_access(hlcache_handle_get_url(css)), event->data.error);
|
||||
hlcache_handle_release(css);
|
||||
s->sheet = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user