HTML CSS handler: event->data.error is invalid for errorcode.

This commit is contained in:
Michael Drake 2017-08-28 12:12:08 +01:00
parent b35b3c1364
commit 8de5625193

View File

@ -109,8 +109,8 @@ 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);
case CONTENT_MSG_ERRORCODE:
hlcache_handle_release(css);
s->sheet = NULL;
parent->base.active--;