helly Tue Nov 5 19:17:47 2002 EDT Modified files: /php4/main php_streams.h Log: Make the macro use the function and not the other macro as discussed with Wez. Index: php4/main/php_streams.h diff -u php4/main/php_streams.h:1.60 php4/main/php_streams.h:1.61 --- php4/main/php_streams.h:1.60 Tue Nov 5 19:15:24 2002 +++ php4/main/php_streams.h Tue Nov 5 19:17:44 2002 @@ -388,7 +388,7 @@ 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) +#define php_stream_set_chunk_size(stream, size) _php_stream_set_option((stream), +PHP_STREAM_OPTION_SET_CHUNK_SIZE, (size), NULL TSRMLS_CC) /* change the blocking mode of stream: value == 1 => blocking, value == 0 => non-blocking. */ #define PHP_STREAM_OPTION_BLOCKING 1
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php