From 88405809613b8255174e6c5fe257cfaec5af1e27 Mon Sep 17 00:00:00 2001 From: jiangxiaoming Date: Thu, 17 Dec 2020 10:01:43 +0800 Subject: hsa: http server: fix http response format type error Type: fix Signed-off-by: jiangxiaoming Change-Id: I15e43ded1ccd1b06a5ce1822a260fd2dd7edf95f --- src/plugins/hs_apps/http_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/plugins/hs_apps/http_server.c b/src/plugins/hs_apps/http_server.c index b0e31b9645c..a93261f0b04 100644 --- a/src/plugins/hs_apps/http_server.c +++ b/src/plugins/hs_apps/http_server.c @@ -238,7 +238,7 @@ static const char *http_response = "Expires: Mon, 11 Jan 1970 10:10:10 GMT\r\n" "Connection: close \r\n" "Pragma: no-cache\r\n" - "Content-Length: %d\r\n\r\n%s"; + "Content-Length: %d\r\n\r\n%v"; static const char *http_error_template = "HTTP/1.1 %s\r\n" -- cgit 1.2.3-korg