Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
Bugfix 434
Browse files Browse the repository at this point in the history
Wrong comparison operator used.

Fixes #434: unpack(): Type N: not enough input
  • Loading branch information
fbergkemper committed Mar 10, 2015
1 parent 3c6b1bc commit b4650e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/Bareos/library/Bareos/BSock/BareosBSock.php
Expand Up @@ -237,7 +237,7 @@ private function receive($len=0)

if ($len === 0) {
$buffer = fread($this->socket, 4);
if($buffer === false){
if($buffer == false){
return false;
}
$msg_len = unpack('N', $buffer);
Expand Down

0 comments on commit b4650e8

Please sign in to comment.