diff --git a/barcodeScanner.php b/barcodeScanner.php index a3f4a41..8c32a34 100644 --- a/barcodeScanner.php +++ b/barcodeScanner.php @@ -69,7 +69,7 @@ function scanner($channel, $port) { } while (1) { - $buffer = fgets($fp, 4096); + $buffer = fgets($fp, 4096); $rv=explode("\n", $buffer); if ($buffer === false) { if (!empty($routingTag)) {