pangu http通过ctemplate重写reject页面(403/404/451)。

This commit is contained in:
zhengchao
2018-09-15 20:55:31 +08:00
parent 2ff8d4ad94
commit e1bcbd5170
9 changed files with 96 additions and 12 deletions

View File

@@ -224,7 +224,7 @@ int pangu_send_log(struct pangu_logger* handle, const struct pangu_log* log_msg)
cJSON_AddStringToObject(common_obj,resp_fields[i].log_filed_name, tmp_val);
}
}
for(int i=0; i<log_msg->result_num; i++)
for(size_t i=0; i<log_msg->result_num; i++)
{
if(log_msg->result[i].do_log==0)
{