cvs: php-src /ext/standard streamsfuncs.c
| From: | Antony Dovgal | Date: | Tue, 03 Oct 2006 23:26:14 +0000 |
| Subject: | cvs: php-src /ext/standard streamsfuncs.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-40891@lists.php.net to get a copy of this message | ||
tony2001 Tue Oct 3 23:26:14 2006 UTC
Modified files:
/php-src/ext/standard streamsfuncs.c
Log:
remove TSRMLS_CC, php_stream_path_decode() is a macro
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/streamsfuncs.c?r1=1.91&r2=1.92&diff_format=u
Index: php-src/ext/standard/streamsfuncs.c
diff -u php-src/ext/standard/streamsfuncs.c:1.91 php-src/ext/standard/streamsfuncs.c:1.92
--- php-src/ext/standard/streamsfuncs.c:1.91 Tue Oct 3 17:45:16 2006
+++ php-src/ext/standard/streamsfuncs.c Tue Oct 3 23:26:14 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: streamsfuncs.c,v 1.91 2006/10/03 17:45:16 iliaa Exp $ */
+/* $Id: streamsfuncs.c,v 1.92 2006/10/03 23:26:14 tony2001 Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -538,7 +538,7 @@
UChar *decoded_path = NULL;
int decoded_path_len = 0;
- if (SUCCESS == php_stream_path_decode(stream->wrapper, &decoded_path,
&decoded_path_len, stream->orig_path, strlen(stream->orig_path), REPORT_ERRORS,
stream->context TSRMLS_CC)) {
+ if (SUCCESS == php_stream_path_decode(stream->wrapper, &decoded_path,
&decoded_path_len, stream->orig_path, strlen(stream->orig_path), REPORT_ERRORS,
stream->context)) {
add_ascii_assoc_unicodel(return_value, "uri", decoded_path, decoded_path_len, 0);
} else {
add_ascii_assoc_null(return_value, "uri");