com php-src: typo: main/streams/userspace.c
| From: | Dmitry Stogov | Date: | Tue, 05 Aug 2014 16:55:15 +0000 |
| Subject: | com php-src: typo: main/streams/userspace.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-79738@lists.php.net to get a copy of this message | ||
Commit: e3b610c245381d1e27338ead4de4274d91b00d25
Author: Dmitry Stogov <dmitry@zend.com> Tue, 5 Aug 2014 20:55:15 +0400
Parents: da2097b34976ba4474bd44cf529ed9ccffa33b95
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e3b610c245381d1e27338ead4de4274d91b00d25
Log:
typo
Changed paths:
M main/streams/userspace.c
Diff:
diff --git a/main/streams/userspace.c b/main/streams/userspace.c
index 2bbb1ec..058b9d7 100644
--- a/main/streams/userspace.c
+++ b/main/streams/userspace.c
@@ -385,7 +385,7 @@ static php_stream *user_wrapper_opener(php_stream_wrapper *wrapper, const char *
stream = php_stream_alloc_rel(&php_stream_userspace_ops, us, 0, mode);
/* if the opened path is set, copy it out */
- if (Z_ISREF(args[2]) && Z_TYPE_P(Z_REFVAL(args[3])) == IS_STRING && opened_path)
{
+ if (Z_ISREF(args[3]) && Z_TYPE_P(Z_REFVAL(args[3])) == IS_STRING && opened_path)
{
*opened_path = estrndup(Z_STRVAL_P(Z_REFVAL(args[3])), Z_STRLEN_P(Z_REFVAL(args[3])));
}