mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-23 05:51:14 +01:00
typo in var name (#394)
This commit is contained in:
parent
83f810a825
commit
ccef4bc4f0
@ -266,7 +266,7 @@ if (!extension_loaded('pthreads')) {
|
||||
|
||||
public function write(string $buffer, int $length = -1)
|
||||
{
|
||||
return $length === -1 ? socket_write($this->sock, $buffer) : socket_write($this->sock, $buffer, $Length);
|
||||
return $length === -1 ? socket_write($this->sock, $buffer) : socket_write($this->sock, $buffer, $length);
|
||||
}
|
||||
|
||||
public function send(string $data, int $length, int $flags)
|
||||
|
Loading…
x
Reference in New Issue
Block a user