Skip to content

Commit

Permalink
Merge pull request Textalk#20 from swmcdonnell/swmcdonnell-patch-1
Browse files Browse the repository at this point in the history
Update Base.php
  • Loading branch information
fiddur committed Aug 18, 2015
2 parents b370bfa + 751cb44 commit 64f34e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ protected function read($length) {
if ($buffer === false) {
$metadata = stream_get_meta_data($this->socket);
throw new ConnectionException(
'Broken frame, read ' . strlen($payload_data) . ' of stated '
. $payload_length . ' bytes. Stream state: '
'Broken frame, read ' . strlen($data) . ' of stated '
. $length . ' bytes. Stream state: '
. json_encode($metadata)
);
}
Expand Down

0 comments on commit 64f34e1

Please sign in to comment.