/[cvs]/nfo/php/libs/net.php.pear/XML/RPC/RPC.php
ViewVC logotype

Diff of /nfo/php/libs/net.php.pear/XML/RPC/RPC.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by cvsjoko, Mon Oct 28 04:21:48 2002 UTC revision 1.4 by joko, Wed Feb 5 22:10:59 2003 UTC
# Line 432  class XML_RPC_Client Line 432  class XML_RPC_Client
432    
433          if(!$fp && $this->proxy) {          if(!$fp && $this->proxy) {
434              PEAR::raiseError("Connection to proxy server ".$this->proxy.":".$this->proxy_port." failed");              PEAR::raiseError("Connection to proxy server ".$this->proxy.":".$this->proxy_port." failed");
435                $this->errstr="Connect error";
436                return 0;
437          }          }
438          else if(!$fp) {          else if(!$fp) {
439              PEAR::raiseError("Connection to RPC server ".$this->server." failed");              PEAR::raiseError("Connection to RPC server ".$this->server." failed");
440                $this->errstr="Connect error";
441                return 0;
442          }          }
443    
444          // Only create the payload if it was not created previously          // Only create the payload if it was not created previously
# Line 474  class XML_RPC_Client Line 478  class XML_RPC_Client
478    
479          // print($op);          // print($op);
480    
481          if (!$fp || !fputs($fp, $op, strlen($op))) {          if (!fputs($fp, $op, strlen($op))) {
482              $this->errstr="Write error";              $this->errstr="Write error";
483              return 0;              return 0;
484          }          }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed