diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2007-12-07 15:31:41 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2007-12-07 15:31:41 +0000 |
commit | 626287862f6e375d1c5cdbf629a62f1f304cd984 (patch) | |
tree | 19af1f92c8fbde6a3ddbb1ab35df5c87ce97cd96 | |
parent | 1e27414fe4be760c15eb232d635668c440b139a2 (diff) | |
download | pfsense-packages-626287862f6e375d1c5cdbf629a62f1f304cd984.tar.gz pfsense-packages-626287862f6e375d1c5cdbf629a62f1f304cd984.tar.bz2 pfsense-packages-626287862f6e375d1c5cdbf629a62f1f304cd984.zip |
pass variables instead of strings
-rw-r--r-- | packages/lcdproc/lcdproc.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/lcdproc/lcdproc.inc b/packages/lcdproc/lcdproc.inc index f268d4b3..79a04cc2 100644 --- a/packages/lcdproc/lcdproc.inc +++ b/packages/lcdproc/lcdproc.inc @@ -276,7 +276,7 @@ EOD; lcdproc_warn("Failed to interpret lcd commands"); return; } - $lcd = fsockopen(LCDPROC_HOST, LCDPROC_PORT, $errno, $errstr, 30); + $lcd = fsockopen($LCDPROC_HOST, $LCDPROC_PORT, $errno, $errstr, 30); if (!$lcd) { lcdproc_warn("Failed to connect to LCDd process $errstr ($errno)"); } else { @@ -289,8 +289,8 @@ EOD; lcdproc_notice("LCDd output for cmd $lcd_cmd is: $cmd_output"); usleep(100); } + fclose($lcd); } - fclose($lcd); } |