Skip to content

Commit cfab9cd

Browse files
committed
Made Communicator comply with the latest Transmitter changes.
1 parent 9d237d4 commit cfab9cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PEAR2/Net/RouterOS/Communicator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ public function sendWordFromStream($prefix, $stream)
367367
static::verifyLengthSupport($totalLength);
368368

369369
$bytes = $this->trans->send(self::encodeLength($totalLength) . $prefix);
370-
$bytes += $this->trans->sendStream($stream);
370+
$bytes += $this->trans->send($stream);
371371

372372
flock($stream, LOCK_UN);
373373
return $bytes;

0 commit comments

Comments
 (0)