Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge

This commit is contained in:
zotlabs 2017-11-23 14:00:43 -08:00
commit 0cfe2ecd7b

View file

@ -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));