cvs: php4 /ext/sockets sockets.c
| From: | Markus Fischer | Date: | Tue, 25 Jun 2002 06:24:45 +0000 |
| Subject: | cvs: php4 /ext/sockets sockets.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12510@lists.php.net to get a copy of this message | ||
mfischer Tue Jun 25 02:24:45 2002 EDT
Modified files:
/php4/ext/sockets sockets.c
Log:
- Fix proto.
Index: php4/ext/sockets/sockets.c
diff -u php4/ext/sockets/sockets.c:1.115 php4/ext/sockets/sockets.c:1.116
--- php4/ext/sockets/sockets.c:1.115 Sat Jun 15 11:58:16 2002
+++ php4/ext/sockets/sockets.c Tue Jun 25 02:24:45 2002
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: sockets.c,v 1.115 2002/06/15 15:58:16 phanto Exp $ */
+/* $Id: sockets.c,v 1.116 2002/06/25 06:24:45 mfischer Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -1943,8 +1943,8 @@
}
/* }}} */
-/* {{{ proto int socket_last_error(resource socket)
- Returns the last error on the socket */
+/* {{{ proto int socket_last_error([resource socket])
+ Returns the last socket error (either the last used or the provided socket resource) */
PHP_FUNCTION(socket_last_error)
{
zval *arg1 = NULL;