mirror of
https://github.com/php/php-src.git
synced 2024-09-24 03:17:26 +00:00
typo
This commit is contained in:
parent
da2097b349
commit
e3b610c245
@ -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])));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user