diff options
Diffstat (limited to '')
-rw-r--r-- | c/wasi-http/0.2.0/echo-request/component.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/c/wasi-http/0.2.0/echo-request/component.c b/c/wasi-http/0.2.0/echo-request/component.c index 6f4c626..523bfa2 100644 --- a/c/wasi-http/0.2.0/echo-request/component.c +++ b/c/wasi-http/0.2.0/echo-request/component.c @@ -140,6 +140,7 @@ void exports_wasi_http_incoming_handler_handle( ex("wasi_http_types_method_fields_append() failed\n"); resp = wasi_http_types_constructor_outgoing_response(fields); + rerr.val.ok = resp; b_resp = wasi_http_types_borrow_outgoing_response(resp); ok = wasi_http_types_method_outgoing_response_body(b_resp, &body); |