Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
z-push
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Björn Fischer
z-push
Commits
fda322dc
Commit
fda322dc
authored
May 16, 2017
by
Sebastian Kummer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ZP-1219 Fixed whitespace.
Released under the Affero GNU General Public License (AGPL) version 3.
parent
f1796178
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
wbxmldecoder.php
src/lib/wbxml/wbxmldecoder.php
+5
-5
No files found.
src/lib/wbxml/wbxmldecoder.php
View file @
fda322dc
...
@@ -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))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment