OCT 1. 临时屏蔽编译错误
This commit is contained in:
parent
d56098caca
commit
7c4d8aaf58
|
@ -164,7 +164,7 @@ static void sendAllLists(data19 *req) {
|
||||||
|
|
||||||
req->bytes = (int)(fp - req->dp);
|
req->bytes = (int)(fp - req->dp);
|
||||||
}
|
}
|
||||||
|
#if 0
|
||||||
static void expand_range_set(data19 *req, const char *pRequest) {
|
static void expand_range_set(data19 *req, const char *pRequest) {
|
||||||
char logBuff[512];
|
char logBuff[512];
|
||||||
|
|
||||||
|
@ -267,6 +267,7 @@ static void expand_range_set(data19 *req, const char *pRequest) {
|
||||||
|
|
||||||
req->bytes = (int)(fp - req->dp);
|
req->bytes = (int)(fp - req->dp);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
#pragma ide diagnostic ignored "cert-err34-c"
|
#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);
|
hw_set_response_header(response, &content_type_name, &content_type_value);
|
||||||
|
|
||||||
SETSTRING(status_code, HTTP_STATUS_200);
|
SETSTRING(status_code, HTTP_STATUS_200);
|
||||||
expand_range_set(req, request->body->value);
|
//expand_range_set(req, request->body->value);
|
||||||
SETSTRING(body, req->dp);
|
SETSTRING(body, req->dp);
|
||||||
hw_set_body(response, &body);
|
hw_set_body(response, &body);
|
||||||
hw_set_response_status_code(response, &status_code);
|
hw_set_response_status_code(response, &status_code);
|
||||||
|
|
Loading…
Reference in New Issue