diff options
Diffstat (limited to 'main/streams/memory.c')
| -rw-r--r-- | main/streams/memory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/streams/memory.c b/main/streams/memory.c index 9efd1f10ac..5145776f7e 100644 --- a/main/streams/memory.c +++ b/main/streams/memory.c @@ -724,8 +724,8 @@ static php_stream * php_stream_url_wrap_rfc2397(php_stream_wrapper *wrapper, con php_stream_wrapper_log_error(wrapper, options, "rfc2397: unable to decode"); return NULL; } - comma = base64_comma->val; - ilen = (int)base64_comma->len; + comma = ZSTR_VAL(base64_comma); + ilen = (int)ZSTR_LEN(base64_comma); } else { comma = estrndup(comma, dlen); dlen = php_url_decode(comma, (int)dlen); |
