mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-11-30 19:07:35 +08:00
bugfix: acl_xml_parse.c 宏 IS_CDATA 判断有误
This commit is contained in:
parent
7afcf03ced
commit
83519e38c9
@ -1,6 +1,9 @@
|
||||
修改历史列表:
|
||||
|
||||
------------------------------------------------------------------------
|
||||
626) 2018.4.8
|
||||
626.1) bugfix: acl_xml_parse.c 宏 IS_CDATA 判断有误,--- by https://gitee.com/ghostshy
|
||||
|
||||
625) 2018.2.24
|
||||
625.1) acl_unix_listen.c: 当出错时不再采用 fatal 方式,而是给调用者返回给错误
|
||||
|
||||
|
@ -180,7 +180,7 @@ static const char *xml_parse_cdata(ACL_XML *xml, const char *data)
|
||||
&& (*(x + 2) == 'D' || *(x + 2) == 'd') \
|
||||
&& (*(x + 3) == 'A' || *(x + 3) == 'a') \
|
||||
&& (*(x + 4) == 'T' || *(x + 4) == 't') \
|
||||
&& (*(x + 5) == 'A' || *(x + 5) == 't') \
|
||||
&& (*(x + 5) == 'A' || *(x + 5) == 'a') \
|
||||
&& *(x + 6) == '[')
|
||||
|
||||
#define CDATA_S sizeof("[CDATA[") - 1
|
||||
|
Loading…
Reference in New Issue
Block a user