]> granicus.if.org Git - php/commitdiff
stream_socket_shutdown() is Unicode safe by definition
authorAntony Dovgal <tony2001@php.net>
Mon, 25 Dec 2006 19:19:08 +0000 (19:19 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 25 Dec 2006 19:19:08 +0000 (19:19 +0000)
ext/standard/streamsfuncs.c

index 922c3fc778789f51d63df6881c8cb23477bcd019..b9694a7f2582be9afe4fc446b9bbdd7d7aef8573 100644 (file)
@@ -1646,7 +1646,7 @@ PHP_FUNCTION(stream_resolve_include_path)
 /* }}} */
 
 #ifdef HAVE_SHUTDOWN
-/* {{{ proto int stream_socket_shutdown(resource stream, int how)
+/* {{{ proto int stream_socket_shutdown(resource stream, int how) U
        causes all or part of a full-duplex connection on the socket associated
        with stream to be shut down.  If how is SHUT_RD,  further receptions will
        be disallowed. If how is SHUT_WR, further transmissions will be disallowed.
@@ -1672,8 +1672,8 @@ PHP_FUNCTION(stream_socket_shutdown)
 
        RETURN_BOOL(php_stream_xport_shutdown(stream, (stream_shutdown_t)how TSRMLS_CC) == 0);
 }
-#endif
 /* }}} */
+#endif
 
 /*
  * Local variables: