hsa: fix http response
http_ok is a const null-terminated string, not a vector. Type: fix Fixes: 844a36d1a6 Change-Id: Ide1a23506d9f43cd33c3a4b8ba11658c67fbecc8 Signed-off-by: Benoît Ganne <bganne@cisco.com> (cherry picked from commit b6834750c076909d096366f77337e54055575142)
This commit is contained in:

committed by
Damjan Marion

parent
2736fc7fcf
commit
662aa2f853
@ -429,7 +429,7 @@ found:
|
||||
html = format (html, "%v", reply);
|
||||
html = format (html, html_footer);
|
||||
/* And the http reply */
|
||||
http = format (0, http_ok, vec_len (http_ok));
|
||||
http = format (0, http_ok);
|
||||
http = format (http, http_response, vec_len (html), html);
|
||||
|
||||
/* Send it */
|
||||
|
Reference in New Issue
Block a user