summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSara Golemon <pollita@php.net>2006-04-18 19:09:31 +0000
committerSara Golemon <pollita@php.net>2006-04-18 19:09:31 +0000
commitd229fc90482552977b5368b47a056ab284be37f4 (patch)
tree9b33077fc87b8366a059025bcc69d566095929e8
parentc581700782cbdc48dbadc9ae5b0e26fe4607360b (diff)
downloadphp-git-d229fc90482552977b5368b47a056ab284be37f4.tar.gz
Fix copy/paste typo in php_stream_path_decode() proto
-rwxr-xr-xmain/php_streams.h2
-rwxr-xr-xmain/streams/streams.c2
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;