mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-02-04 04:48:30 +00:00
Also replace this with call_user_func
This commit is contained in:
parent
97d1e75a51
commit
b5e579f6c0
@ -216,7 +216,7 @@ class Net_SCP
|
|||||||
$sent+= strlen($temp);
|
$sent+= strlen($temp);
|
||||||
|
|
||||||
if (is_callable($callback)) {
|
if (is_callable($callback)) {
|
||||||
$callback($sent);
|
call_user_func($callback, $sent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$this->_close();
|
$this->_close();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user