cvs: pear /Net_MPD/MPD Common.php
| From: | Graham Christensen | Date: | Sun, 12 Nov 2006 17:21:46 +0000 |
| Subject: | cvs: pear /Net_MPD/MPD Common.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-43056@lists.php.net to get a copy of this message | ||
itrebal Sun Nov 12 17:21:46 2006 UTC
Modified files:
/pear/Net_MPD/MPD Common.php
Log:
Various small changes
http://cvs.php.net/viewvc.cgi/pear/Net_MPD/MPD/Common.php?r1=1.1&r2=1.2&diff_format=u
Index: pear/Net_MPD/MPD/Common.php
diff -u pear/Net_MPD/MPD/Common.php:1.1 pear/Net_MPD/MPD/Common.php:1.2
--- pear/Net_MPD/MPD/Common.php:1.1 Wed Nov 8 00:37:29 2006
+++ pear/Net_MPD/MPD/Common.php Sun Nov 12 17:21:45 2006
@@ -167,7 +167,7 @@
try {
$this->connect();
} catch(PEAR_Exception $e) {
- throw new PEAR_Exception($e->getMessage, $e);
+ throw new PEAR_Exception($e->getMessage(), $e);
}
}
@@ -197,6 +197,7 @@
}
//Loop through the connection, putting the data into $line
+ $output = array();
while (!feof($this->_connection)) {
$line = fgets($this->_connection);