]> granicus.if.org Git - php/commitdiff
correct define: silences compiler warning in http_fopen_wrapper.c
authorMarcus Boerger <helly@php.net>
Tue, 5 Nov 2002 11:10:06 +0000 (11:10 +0000)
committerMarcus Boerger <helly@php.net>
Tue, 5 Nov 2002 11:10:06 +0000 (11:10 +0000)
main/php_streams.h

index 7e93aad7ba23e74044704a4656d17458a9a3356b..f983b02c3a20b86fffa24dece8b00c63d9161393 100755 (executable)
@@ -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