From d229fc90482552977b5368b47a056ab284be37f4 Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Tue, 18 Apr 2006 19:09:31 +0000 Subject: [PATCH] Fix copy/paste typo in php_stream_path_decode() proto --- main/php_streams.h | 2 +- main/streams/streams.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main/php_streams.h b/main/php_streams.h index 7a80ee529e..54aff0daf6 100755 --- a/main/php_streams.h +++ b/main/php_streams.h @@ -380,7 +380,7 @@ PHPAPI int _php_stream_path_encode(php_stream_wrapper *wrapper, _php_stream_path_encode((wrapper), (pathenc), (pathenc_len), (path), (path_len), (options), (context) TSRMLS_CC) PHPAPI int _php_stream_path_decode(php_stream_wrapper *wrapper, - char **pathdec, int *pathdec_len, UChar *path, int path_len, + UChar **pathdec, int *pathdec_len, char *path, int path_len, int options, php_stream_context *context TSRMLS_DC); #define php_stream_path_decode(wrapper, pathdec, pathdec_len, path, path_len, options, context) \ _php_stream_path_decode((wrapper), (pathdec), (pathdec_len), (path), (path_len), (options), (context) TSRMLS_CC) diff --git a/main/streams/streams.c b/main/streams/streams.c index eafecc1a89..aaa8c7307f 100755 --- a/main/streams/streams.c +++ b/main/streams/streams.c @@ -2653,7 +2653,7 @@ If the wrapper supports its own decoding rules it will be dispatched to wrapper- Otherwise (or if wrapper == NULL) the INI defined filesystem_encoding converter will be used. */ PHPAPI int _php_stream_path_decode(php_stream_wrapper *wrapper, - char **pathdec, int *pathdec_len, UChar *path, int path_len, + UChar **pathdec, int *pathdec_len, char *path, int path_len, int options, php_stream_context *context TSRMLS_DC) { int num_conv; -- 2.50.1