From f7249e7c5c110762c864cc71f75ec310e3c4237f Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Wed, 30 Mar 2011 09:46:20 +0000 Subject: [PATCH] - fix build, should fix that code too on non win (wondering if that part was working at all) --- ext/sockets/sockets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index bd01d258e0..524684e06b 100644 --- a/ext/sockets/sockets.c +++ b/ext/sockets/sockets.c @@ -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; } -- 2.50.1