SourceForge logo
SourceForge logo
Menu

phpwiki-checkins

From: Geoffrey T. D. <da...@us...> - 2002年09月17日 23:26:12
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('--', '&#45;&#45;', $msg);
- $this->errbuf .= sprintf("<!--\n%s\n-->", $msg);
+ xmlrpc_debugmsg($msg);
 return true;
 }
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /