We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 7679f058 authored by Evan Prodromou's avatar Evan Prodromou

Revert "DEBUG HACK: error checking for xml_parse in XMPPHP input stream"

This reverts commit 906450e2.

1) It was a quick debug hack 2) it doesn't meet the requirements
for changing extlib/ libraries
parent 2a3cb86e
...@@ -417,12 +417,7 @@ class XMPPHP_XMLStream { ...@@ -417,12 +417,7 @@ class XMPPHP_XMLStream {
} }
} }
$this->log->log("RECV: $buff", XMPPHP_Log::LEVEL_VERBOSE); $this->log->log("RECV: $buff", XMPPHP_Log::LEVEL_VERBOSE);
$ok = xml_parse($this->parser, $buff, false); xml_parse($this->parser, $buff, false);
if (!$ok) {
$errcode = xml_get_error_code($this->parser);
$errstr = xml_error_string($errcode);
$this->log->log("XML ERROR: $errstr", XMPPHP_Log::LEVEL_VERBOSE);
}
} else { } else {
# $updated == 0 means no changes during timeout. # $updated == 0 means no changes during timeout.
} }
...@@ -676,12 +671,7 @@ class XMPPHP_XMLStream { ...@@ -676,12 +671,7 @@ class XMPPHP_XMLStream {
} }
} }
$this->log->log("RECV: $buff", XMPPHP_Log::LEVEL_VERBOSE); $this->log->log("RECV: $buff", XMPPHP_Log::LEVEL_VERBOSE);
$ok = xml_parse($this->parser, $buff, false); xml_parse($this->parser, $buff, false);
if (!$ok) {
$errcode = xml_get_error_code($this->parser);
$errstr = xml_error_string($errcode);
$this->log->log("XML ERROR: $errstr", XMPPHP_Log::LEVEL_VERBOSE);
}
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment