svn: /php/php-src/trunk/ext/sockets/ sockets.c
| From: | Pierre Joye | Date: | Wed, 30 Mar 2011 09:46:20 +0000 |
| Subject: | svn: /php/php-src/trunk/ext/sockets/ sockets.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-64779@lists.php.net to get a copy of this message | ||
pajoye Wed, 30 Mar 2011 09:46:20 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=309841
Log:
- fix build, should fix that code too on non win (wondering if that part was working at all)
Changed paths:
U php/php-src/trunk/ext/sockets/sockets.c
Modified: php/php-src/trunk/ext/sockets/sockets.c
===================================================================
--- php/php-src/trunk/ext/sockets/sockets.c 2011-03-30 09:42:21 UTC (rev 309840)
+++ php/php-src/trunk/ext/sockets/sockets.c 2011-03-30 09:46:20 UTC (rev 309841)
@@ -2479,7 +2479,7 @@
* 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;
}