Update of /cvsroot/phpwiki/phpwiki/lib In directory usw-pr-cvs1:/tmp/cvs-serv9735/lib Modified Files: XmlRpcServer.php Log Message: Fix so that warnings/errors are included within Content-Length. Was causing problems with some XML-RPC clients. Index: XmlRpcServer.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/XmlRpcServer.php,v retrieving revision 1.3 retrieving revision 1.4 diff -u -2 -b -p -d -r1.3 -r1.4 --- XmlRpcServer.php 15 Sep 2002 06:14:32 -0000 1.3 +++ XmlRpcServer.php 17 Sep 2002 23:26:09 -0000 1.4 @@ -474,11 +474,7 @@ class XmlRpcServer extends xmlrpc_server global $ErrorManager; - $this->errbuf = ''; $ErrorManager->pushErrorHandler(new WikiMethodCb($this, '_errorHandler')); - xmlrpc_server::service(); - $ErrorManager->popErrorHandler(); - print $this->errbuf; } @@ -487,5 +483,5 @@ class XmlRpcServer extends xmlrpc_server // '--' not allowed within xml comment $msg = str_replace('--', '--', $msg); - $this->errbuf .= sprintf("<!--\n%s\n-->", $msg); + xmlrpc_debugmsg($msg); return true; }