Skip to content

Commit

Permalink
Update Parser.php
Browse files Browse the repository at this point in the history
  • Loading branch information
walkor authored Feb 7, 2017
1 parent 4430a2d commit 2407c1d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Engine/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,13 +181,13 @@ public static function decodePayload($data, $binaryType = null)
return self::$err;
}

$msg = substr($data, $i + 1, $n);
$msg = substr($data, $i + 1/*, $n*/);

if ($length != strlen($msg))
/*if ($length != strlen($msg))
{
// parser error - ignoring payload
return self::$err;
}
}*/

if (isset($msg[0]))
{
Expand Down

0 comments on commit 2407c1d

Please sign in to comment.