]> granicus.if.org Git - php/commitdiff
Fix copy/paste typo in php_stream_path_decode() proto
authorSara Golemon <pollita@php.net>
Tue, 18 Apr 2006 19:09:31 +0000 (19:09 +0000)
committerSara Golemon <pollita@php.net>
Tue, 18 Apr 2006 19:09:31 +0000 (19:09 +0000)
main/php_streams.h
main/streams/streams.c

index 7a80ee529e7f7d03eb295f3b73ab2a47495a0468..54aff0daf6e0ac0780ebf8efb83ba848f76e5b8f 100755 (executable)
@@ -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)
index eafecc1a895f67388102b0bee714294c8b4a2e16..aaa8c7307f597d06312022f401c64723c3992295 100755 (executable)
@@ -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;