]> granicus.if.org Git - php/commitdiff
fix php_stream_u_get_line() macro
authorAntony Dovgal <tony2001@php.net>
Wed, 27 Dec 2006 15:22:46 +0000 (15:22 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 27 Dec 2006 15:22:46 +0000 (15:22 +0000)
main/php_streams.h

index f53563d57f17c2c80ab61b4f66c61c6dfeb74a6a..ea6336658a8796c97b0c523e6de134dc666b7f67 100755 (executable)
@@ -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);