cvs: php4 /pear/Net Socket.php
| From: | Chuck Hagenbuch | Date: | Sun, 30 Jul 2000 03:32:13 +0000 |
| Subject: | cvs: php4 /pear/Net Socket.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-984@lists.php.net to get a copy of this message | ||
chagenbu Sat Jul 29 20:32:13 2000 EDT
Modified files:
/php4/pear/Net Socket.php
Log:
change deprecated call to set_socket_blocking() to socket_set_blocking()
Index: php4/pear/Net/Socket.php
diff -u php4/pear/Net/Socket.php:1.1 php4/pear/Net/Socket.php:1.2
--- php4/pear/Net/Socket.php:1.1 Fri Jul 28 08:27:18 2000
+++ php4/pear/Net/Socket.php Sat Jul 29 20:32:13 2000
@@ -17,7 +17,7 @@
// | Chuck Hagenbuch <chuck@horde.org> |
// +----------------------------------------------------------------------+
//
-// $Id: Socket.php,v 1.1 2000/07/28 15:27:18 chagenbu Exp $
+// $Id: Socket.php,v 1.2 2000/07/30 03:32:13 chagenbu Exp $
//
require_once 'PEAR.php';
@@ -109,7 +109,7 @@
return new PEAR_Error($errstr, $errno);
}
- set_socket_blocking($fp, $this->blocking);
+ socket_set_blocking($fp, $this->blocking);
$this->fp = $fp;
$this->persistent = $persistent;
return true;