From 867d6380a8b253cff368e900aff09d4aa39bdae3 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Wed, 27 Dec 2006 15:22:46 +0000 Subject: [PATCH] fix php_stream_u_get_line() macro --- main/php_streams.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/php_streams.h b/main/php_streams.h index f53563d57f..ea6336658a 100755 --- a/main/php_streams.h +++ b/main/php_streams.h @@ -335,7 +335,7 @@ PHPAPI UChar *php_stream_get_record_unicode(php_stream *stream, size_t maxlen, s PHPAPI UChar *_php_stream_u_get_line(php_stream *stream, UChar *buf, int32_t *pmax_bytes, int32_t *pmax_chars, int *pis_unicode TSRMLS_DC); -#define php_stream_u_get_line(stream, buf, maxlen_buf, maxlen_chars, buf_type) _php_stream_u_get_line((stream), (buf), (maxlen_buf), (maxlen_chars), (buf_type) TSRMLS_CC) +#define php_stream_u_get_line(stream, buf, maxlen_buf, maxlen_chars, retlen) _php_stream_get_line((stream), IS_UNICODE, (buf), (maxlen_buf), (maxlen_chars), (retlen) TSRMLS_CC) /* CAREFUL! this is equivalent to puts NOT fputs! */ PHPAPI int _php_stream_puts(php_stream *stream, char *buf TSRMLS_DC); -- 2.50.1