From c15d83b9ed9a160406d73fc13db2d4f3f4d412bf Mon Sep 17 00:00:00 2001 From: Markus Fischer Date: Tue, 25 Jun 2002 06:24:45 +0000 Subject: [PATCH] - Fix proto. --- ext/sockets/sockets.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.50.1