Skip to content

Commit e2bbe98

Browse files
author
Felipe Zimmerle
committed
XML Parser: removes unnecessary message from debug logs
Fix #44
1 parent ba070c9 commit e2bbe98

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/variables/xml.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ void XML::evaluate(Transaction *t,
6666
/* Is there an XML document tree at all? */
6767
if (t->m_xml->m_data.doc == NULL) {
6868
/* Sorry, we've got nothing to give! */
69-
t->debug(1, "XML: No XML document found, returning.");
7069
return;
7170
}
7271

test/test-cases/regression/action-ctl_request_body_processor.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"version_min":300000,
7474
"title":"Testing CtlRequestBodyProcessor=XML (2)",
7575
"expected":{
76-
"debug_log": "XML: No XML document found, returning"
76+
"debug_log": "Rule returned 0"
7777
},
7878
"client":{
7979
"ip":"200.249.12.31",

0 commit comments

Comments
 (0)