aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2019-07-15 18:30:16 +0200
committerAndre Weissflog <floooh@gmail.com>2019-07-15 18:30:16 +0200
commitf4be9a0ff16bc7021658088acd6f631242e9b12d (patch)
tree02cad171058deec6da464edd46a06387a7e729a5
parentb03c95af94895948bd371eafefc4d85fa64d869a (diff)
sokol_fetch.h: emscripten fix
-rw-r--r--sokol_fetch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sokol_fetch.h b/sokol_fetch.h
index 21d4cb5e..6c3ac42a 100644
--- a/sokol_fetch.h
+++ b/sokol_fetch.h
@@ -2062,7 +2062,7 @@ EM_JS(void, sfetch_js_send_head_request, (uint32_t slot_id, const char* path_cst
__sfetch_emsc_head_response(slot_id, content_length);
}
else {
- __sfetch_emsc_failed(slot_id);
+ __sfetch_emsc_failed_http_status(slot_id, this.status);
}
}
};