From e19d908f0ea704c69f660b78fb6647b6ac9904ca Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Mon, 19 Mar 2018 21:08:17 +0800 Subject: [PATCH] apps/http: Fix httpd_structs.h build error Fixes: bug #53382: HTTPD_ADDITIONAL_CONTENT_TYPES doesn't compile Reported-by: Giuseppe Modugno Signed-off-by: Axel Lin --- src/apps/http/httpd_structs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/http/httpd_structs.h b/src/apps/http/httpd_structs.h index 137f8e91..56b97a32 100644 --- a/src/apps/http/httpd_structs.h +++ b/src/apps/http/httpd_structs.h @@ -100,7 +100,7 @@ static const tHTTPHeader g_psHTTPHeaders[] = { { "xml", HTTP_HDR_XML}, { "xsl", HTTP_HDR_XML}, { "pdf", HTTP_HDR_PDF}, - { "json", HTTP_HDR_JSON}, + { "json", HTTP_HDR_JSON} #ifdef HTTPD_ADDITIONAL_CONTENT_TYPES /* If you need to add content types not listed here: * #define HTTPD_ADDITIONAL_CONTENT_TYPES {"ct1", HTTP_CONTENT_TYPE("text/ct1")}, {"exe", HTTP_CONTENT_TYPE("application/exe")}