]> granicus.if.org Git - php/commitdiff
- fix build, should fix that code too on non win (wondering if that part was working...
authorPierre Joye <pajoye@php.net>
Wed, 30 Mar 2011 09:46:20 +0000 (09:46 +0000)
committerPierre Joye <pajoye@php.net>
Wed, 30 Mar 2011 09:46:20 +0000 (09:46 +0000)
ext/sockets/sockets.c

index bd01d258e0f733da1f7a56cea82ff78b55a339a4..524684e06b5fd8d57cae8eeb23ee95eafb058df1 100644 (file)
@@ -2479,7 +2479,7 @@ PHP_FUNCTION(socket_import_stream)
         * private data; otherwise assume it's in non-blocking mode */
        if (php_stream_is(stream, PHP_STREAM_IS_SOCKET)) {
                retsock->blocking =
-                               ((php_netstream_data_t)stream->abstract)->is_blocked;
+                               ((php_netstream_data_t *)stream->abstract)->is_blocked;
        } else {
                retsock->blocking = 1;
        }