mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-01 14:37:20 +00:00
stream_select may pass only variables by reference
This commit is contained in:
parent
58e6f10a93
commit
ecdbc03d6a
|
@ -75,7 +75,9 @@ class SeedDMS_Preview_Previewer {
|
||||||
do {
|
do {
|
||||||
$timeleft = $timeout - time();
|
$timeleft = $timeout - time();
|
||||||
$read = array($pipes[1]);
|
$read = array($pipes[1]);
|
||||||
stream_select($read, $write = NULL, $exeptions = NULL, $timeleft, 200000);
|
$write = NULL;
|
||||||
|
$exeptions = NULL;
|
||||||
|
stream_select($read, $write, $exeptions, $timeleft, 200000);
|
||||||
|
|
||||||
if (!empty($read)) {
|
if (!empty($read)) {
|
||||||
$output .= fread($pipes[1], 8192);
|
$output .= fread($pipes[1], 8192);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user