From: Marcus Boerger Date: Tue, 5 Nov 2002 11:10:06 +0000 (+0000) Subject: correct define: silences compiler warning in http_fopen_wrapper.c X-Git-Tag: php-4.3.0RC1~276 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8f6120fef44c05a3bacc46f3838759a0b12f4d92;p=php correct define: silences compiler warning in http_fopen_wrapper.c --- diff --git a/main/php_streams.h b/main/php_streams.h index 7e93aad7ba..f983b02c3a 100755 --- a/main/php_streams.h +++ b/main/php_streams.h @@ -384,7 +384,7 @@ PHPAPI php_stream_dirent *_php_stream_readdir(php_stream *dirstream, php_stream_ PHPAPI int _php_stream_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC); #define php_stream_set_option(stream, option, value, ptrvalue) _php_stream_set_option((stream), (option), (value), (ptrvalue) TSRMLS_CC) -#define php_stream_set_chunk_size(stream, size) php_stream_set_option((stream), PHP_STREAM_OPTION_SET_CHUNK_SIZE, (size), NULL TSRMLS_CC) +#define php_stream_set_chunk_size(stream, size) php_stream_set_option((stream), PHP_STREAM_OPTION_SET_CHUNK_SIZE, (size), NULL) /* change the blocking mode of stream: value == 1 => blocking, value == 0 => non-blocking. */ #define PHP_STREAM_OPTION_BLOCKING 1