fix typo in pipe_streams()
This commit is contained in:
parent
8fcf16ee63
commit
14f1292743
@ -1639,7 +1639,7 @@ function find_filename_by_hash($channel_id, $attachHash) {
|
|||||||
* @param int $bufsize size of chunk, default 16384
|
* @param int $bufsize size of chunk, default 16384
|
||||||
* @return number with the size
|
* @return number with the size
|
||||||
*/
|
*/
|
||||||
function pipe_streams($in, $out, $bufize = 16384) {
|
function pipe_streams($in, $out, $bufsize = 16384) {
|
||||||
$size = 0;
|
$size = 0;
|
||||||
while (!feof($in))
|
while (!feof($in))
|
||||||
$size += fwrite($out, fread($in, $bufsize));
|
$size += fwrite($out, fread($in, $bufsize));
|
||||||
|
Reference in New Issue
Block a user