diff options
author | Xinchen Hui <laruence@gmail.com> | 2015-02-02 14:45:19 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@gmail.com> | 2015-02-02 14:45:19 +0800 |
commit | e98caf27eaed852ee3567b1994167c85b89f79e5 (patch) | |
tree | a91443579d8cc9c8c304e104a5b52c9cc89597cc /ext/sockets/sockets.c | |
parent | 50ae5b31b4f88310f6941ee0ccc6e12b4792381e (diff) | |
download | php-git-e98caf27eaed852ee3567b1994167c85b89f79e5.tar.gz |
found type is unnecessary
Diffstat (limited to 'ext/sockets/sockets.c')
-rw-r--r-- | ext/sockets/sockets.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index 68d75e8d3b..a3c8545179 100644 --- a/ext/sockets/sockets.c +++ b/ext/sockets/sockets.c @@ -974,7 +974,7 @@ PHP_FUNCTION(socket_set_nonblock) if (!Z_ISUNDEF(php_sock->zstream)) { php_stream *stream; /* omit notice if resource doesn't exist anymore */ - stream = zend_fetch_resource2_ex(&php_sock->zstream, NULL, NULL, php_file_le_stream(), php_file_le_pstream()); + stream = zend_fetch_resource2_ex(&php_sock->zstream, NULL, php_file_le_stream(), php_file_le_pstream()); if (stream != NULL) { if (php_stream_set_option(stream, PHP_STREAM_OPTION_BLOCKING, 0, NULL) != -1) { @@ -1014,7 +1014,7 @@ PHP_FUNCTION(socket_set_block) * state */ if (!Z_ISUNDEF(php_sock->zstream)) { php_stream *stream; - stream = zend_fetch_resource2_ex(&php_sock->zstream, NULL, NULL, php_file_le_stream(), php_file_le_pstream()); + stream = zend_fetch_resource2_ex(&php_sock->zstream, NULL, php_file_le_stream(), php_file_le_pstream()); if (stream != NULL) { if (php_stream_set_option(stream, PHP_STREAM_OPTION_BLOCKING, 1, NULL) != -1) { |