cvs: php4 /pear/Net Socket.php

From: Date: Sun, 20 Aug 2000 16:23:44 +0000
Subject: cvs: php4 /pear/Net Socket.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-1266@lists.php.net to get a copy of this message
chagenbu Sun Aug 20 09:23:44 2000 EDT Modified files: /php4/pear/Net Socket.php Log: remove call-time pass-by-reference semantics from (p)fsockopen - works fine without them. Index: php4/pear/Net/Socket.php diff -u php4/pear/Net/Socket.php:1.2 php4/pear/Net/Socket.php:1.3 --- php4/pear/Net/Socket.php:1.2 Sat Jul 29 20:32:13 2000 +++ php4/pear/Net/Socket.php Sun Aug 20 09:23:44 2000 @@ -17,7 +17,7 @@ // | Chuck Hagenbuch <chuck@horde.org> | // +----------------------------------------------------------------------+ // -// $Id: Socket.php,v 1.2 2000/07/30 03:32:13 chagenbu Exp $ +// $Id: Socket.php,v 1.3 2000/08/20 16:23:44 chagenbu Exp $ // require_once 'PEAR.php'; @@ -100,9 +100,9 @@ $errno = 0; $errstr = ''; if ($this->timeout) { - $fp = $openfunc($this->addr, $this->port, &$errno, &$errstr, $this->timeout); + $fp = $openfunc($this->addr, $this->port, $errno, $errstr, $this->timeout); } else { - $fp = $openfunc($this->addr, $this->port, &$errno, &$errstr); + $fp = $openfunc($this->addr, $this->port, $errno, $errstr); } if (!$fp) {

« previous php.cvs (#1266) next »