summaryrefslogtreecommitdiffstats
path: root/src/plugins/hs_apps/http_server.c
diff options
context:
space:
mode:
authorjiangxiaoming <jiangxiaoming@outlook.com>2020-12-17 10:01:43 +0800
committerxm j <jiangxiaoming@outlook.com>2020-12-17 02:26:02 +0000
commit88405809613b8255174e6c5fe257cfaec5af1e27 (patch)
tree7721754478aae95c0af71ee00dbc5d0f280a9633 /src/plugins/hs_apps/http_server.c
parentd6a1acebeae5adb157397b8088042a03f0fa5ee9 (diff)
hsa: http server: fix http response format type error
Type: fix Signed-off-by: jiangxiaoming <jiangxiaoming@outlook.com> Change-Id: I15e43ded1ccd1b06a5ce1822a260fd2dd7edf95f
Diffstat (limited to 'src/plugins/hs_apps/http_server.c')
-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 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"