From: Markus Fischer Date: Tue, 25 Jun 2002 06:24:45 +0000 (+0000) Subject: - Fix proto. X-Git-Tag: php-4.3.0dev_zend2_alpha2~96 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c15d83b9ed9a160406d73fc13db2d4f3f4d412bf;p=php - Fix proto. --- diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index c4a9319595..239d4c5ddf 100644 --- a/ext/sockets/sockets.c +++ b/ext/sockets/sockets.c @@ -1943,8 +1943,8 @@ PHP_FUNCTION(socket_shutdown) } /* }}} */ -/* {{{ 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;