Commit fda322dc authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-1219 Fixed whitespace.

Released under the Affero GNU General Public License (AGPL) version 3.
parent f1796178
...@@ -405,21 +405,21 @@ class WBXMLDecoder extends WBXMLDefs { ...@@ -405,21 +405,21 @@ class WBXMLDecoder extends WBXMLDefs {
* @return string * @return string
*/ */
private function getTermStr() { private function getTermStr() {
if(defined('WBXML_DEBUGGING') && WBXML_DEBUGGING === true) { if (defined('WBXML_DEBUGGING') && WBXML_DEBUGGING === true) {
$str = ""; $str = "";
while(1) { while (1) {
$in = $this->getByte(); $in = $this->getByte();
if($in == 0) { if ($in == 0) {
break; break;
} }
else { else {
$str .= chr($in); $str .= chr($in);
} }
} }
return $str; return $str;
} }
// there is no unlimited "length" for stream_get_line, // there is no unlimited "length" for stream_get_line,
// so we use a huge value for "length" param (1Gb) // so we use a huge value for "length" param (1Gb)
// (0 == PHP_SOCK_CHUNK_SIZE (8192)) // (0 == PHP_SOCK_CHUNK_SIZE (8192))
......
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