summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2019-08-21 20:32:18 +0200
committerDamjan Marion <dmarion@me.com>2019-09-25 22:09:31 +0000
commit662aa2f853c17de3bfde7ce77a0134ee9effd236 (patch)
tree76e7d4370df37a5dbe44b533bcd763dbf464cd7f /src/plugins
parent2736fc7fcf1da65c1739bfbe498d7373a4034204 (diff)
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)
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/hs_apps/http_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/hs_apps/http_server.c b/src/plugins/hs_apps/http_server.c
index ace3c75ebb8..cc998a6f661 100644
--- a/src/plugins/hs_apps/http_server.c
+++ b/src/plugins/hs_apps/http_server.c
@@ -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 */