OCT 1. 临时屏蔽编译错误

This commit is contained in:
huangxin 2022-11-22 16:13:42 +08:00
parent d56098caca
commit 7c4d8aaf58
1 changed files with 3 additions and 2 deletions

View File

@ -164,7 +164,7 @@ static void sendAllLists(data19 *req) {
req->bytes = (int)(fp - req->dp);
}
#if 0
static void expand_range_set(data19 *req, const char *pRequest) {
char logBuff[512];
@ -267,6 +267,7 @@ static void expand_range_set(data19 *req, const char *pRequest) {
req->bytes = (int)(fp - req->dp);
}
#endif
#pragma clang diagnostic push
#pragma ide diagnostic ignored "cert-err34-c"
@ -507,7 +508,7 @@ static void opendhcp_http_expand_rangeset(http_request *request, hw_http_respons
hw_set_response_header(response, &content_type_name, &content_type_value);
SETSTRING(status_code, HTTP_STATUS_200);
expand_range_set(req, request->body->value);
//expand_range_set(req, request->body->value);
SETSTRING(body, req->dp);
hw_set_body(response, &body);
hw_set_response_status_code(response, &status_code);