From: Pierre Joye Date: Wed, 30 Mar 2011 09:46:20 +0000 (+0000) Subject: - fix build, should fix that code too on non win (wondering if that part was working... X-Git-Tag: php-5.4.0alpha1~191^2~95 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f7249e7c5c110762c864cc71f75ec310e3c4237f;p=php - fix build, should fix that code too on non win (wondering if that part was working at all) --- 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; }