]> granicus.if.org Git - php/commitdiff
- Fix proto.
authorMarkus Fischer <mfischer@php.net>
Tue, 25 Jun 2002 06:24:45 +0000 (06:24 +0000)
committerMarkus Fischer <mfischer@php.net>
Tue, 25 Jun 2002 06:24:45 +0000 (06:24 +0000)
ext/sockets/sockets.c

index c4a9319595211dd28e2e0a64f2e189cd98e49fab..239d4c5ddff1193f4aad729054b9488a25c360db 100644 (file)
@@ -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;