Skip to content

Commit f7249e7

Browse files
committed
- fix build, should fix that code too on non win (wondering if that part was working at all)
1 parent 38bbbe3 commit f7249e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/sockets/sockets.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2479,7 +2479,7 @@ PHP_FUNCTION(socket_import_stream)
24792479
* private data; otherwise assume it's in non-blocking mode */
24802480
if (php_stream_is(stream, PHP_STREAM_IS_SOCKET)) {
24812481
retsock->blocking =
2482-
((php_netstream_data_t)stream->abstract)->is_blocked;
2482+
((php_netstream_data_t *)stream->abstract)->is_blocked;
24832483
} else {
24842484
retsock->blocking = 1;
24852485
}

0 commit comments

Comments
 (0)