XMLRPC Pear Patch
| From: | Matt Allen | Date: | Sun, 22 Jul 2001 02:02:18 +0000 |
| Subject: | XMLRPC Pear Patch | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-60544@lists.php.net to get a copy of this message | ||
Hi All,
Attached is a small patch tp pear/XML/RPC.php.
It fixes 2 things:
1. There was a print statement left in the client class
2. xml_rpc_encode had "new XML_RPC_VAL" instead of "new XML_RPC_VALUE".
Cheerio,
Matta
--
Matt Allen
Technical Director
Investigation Marketplace
0413 777 771
matt@investigationmarketplace.com
Index: RPC.php =================================================================== RCS file: /repository/php4/pear/XML/RPC.php,v retrieving revision 1.10 diff -u -r1.10 RPC.php --- RPC.php 13 Jul 2001 17:45:43 -0000 1.10 +++ RPC.php 22 Jul 2001 01:52:47 -0000 @@ -509,7 +509,7 @@ strlen($msg->payload) . "\r\n\r\n" . $msg->payload; - print($op); + //print($op); if (!fputs($fp, $op, strlen($op))) { $this->errstr="Write error"; @@ -1092,7 +1092,7 @@ global $XML_RPC_Struct; $type = gettype($php_val); - $XML_RPC_val = new XML_RPC_val; + $XML_RPC_val = new XML_RPC_value; switch($type) { case "array":
Index: RPC.php =================================================================== RCS file: /repository/php4/pear/XML/RPC.php,v retrieving revision 1.10 diff -u -r1.10 RPC.php --- RPC.php 13 Jul 2001 17:45:43 -0000 1.10 +++ RPC.php 22 Jul 2001 01:52:47 -0000 @@ -509,7 +509,7 @@ strlen($msg->payload) . "\r\n\r\n" . $msg->payload; - print($op); + //print($op); if (!fputs($fp, $op, strlen($op))) { $this->errstr="Write error"; @@ -1092,7 +1092,7 @@ global $XML_RPC_Struct; $type = gettype($php_val); - $XML_RPC_val = new XML_RPC_val; + $XML_RPC_val = new XML_RPC_value; switch($type) { case "array":