cvs: pear /XML_RPC2/XML/RPC2/Backend/Xmlrpcext Client.php
| From: | Fabien MARTY | Date: | Tue, 17 Jan 2006 22:18:57 +0000 |
| Subject: | cvs: pear /XML_RPC2/XML/RPC2/Backend/Xmlrpcext Client.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-37616@lists.php.net to get a copy of this message | ||
fab Tue Jan 17 22:18:57 2006 UTC
Modified files:
/pear/XML_RPC2/XML/RPC2/Backend/Xmlrpcext Client.php
Log:
better debug
http://cvs.php.net/viewcvs.cgi/pear/XML_RPC2/XML/RPC2/Backend/Xmlrpcext/Client.php?r1=1.9&r2=1.10&diff_format=u
Index: pear/XML_RPC2/XML/RPC2/Backend/Xmlrpcext/Client.php
diff -u pear/XML_RPC2/XML/RPC2/Backend/Xmlrpcext/Client.php:1.9
pear/XML_RPC2/XML/RPC2/Backend/Xmlrpcext/Client.php:1.10
--- pear/XML_RPC2/XML/RPC2/Backend/Xmlrpcext/Client.php:1.9 Sat Jan 14 14:21:54 2006
+++ pear/XML_RPC2/XML/RPC2/Backend/Xmlrpcext/Client.php Tue Jan 17 22:18:57 2006
@@ -33,7 +33,7 @@
* @author S�rgio Carvalho <sergio.carvalho@portugalmail.com>
* @copyright 2004-2005 S�rgio Carvalho
* @license http://www.gnu.org/copyleft/lesser.html LGPL
License 2.1
-* @version CVS: $Id: Client.php,v 1.9 2006/01/14 14:21:54 fab Exp $
+* @version CVS: $Id: Client.php,v 1.10 2006/01/17 22:18:57 fab Exp $
* @link http://pear.php.net/package/XML_RPC2
*/
@@ -98,10 +98,10 @@
$httpRequest->setPostData($request);
$httpRequest->sendRequest();
$body = $httpRequest->getBody();
- $result = xmlrpc_decode($body);
if ($this->debug) {
$this->displayDebugInformations___($request, $body);
}
+ $result = xmlrpc_decode($body);
if ($result === false) {
if ($this->debug) {
print "XML_RPC2_Exception : unable to decode response !";