diff options
author | Dmitry Stogov <dmitry@zend.com> | 2019-04-24 18:28:29 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2019-04-24 18:28:29 +0300 |
commit | e188e4170fcc3e3a2d9ab57f3d3d24c4b26dd4bd (patch) | |
tree | bc2ece4c5f05fccda1ec1d528daef7ae4a9fb811 /ext/ftp | |
parent | eef351b7c76675a3bfab4f7fbab021326d6c6135 (diff) | |
download | php-git-e188e4170fcc3e3a2d9ab57f3d3d24c4b26dd4bd.tar.gz |
Use ZEND_TRY_ASSIGN_REF_... macros for arguments passed to internal function by reference
Diffstat (limited to 'ext/ftp')
-rw-r--r-- | ext/ftp/php_ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ftp/php_ftp.c b/ext/ftp/php_ftp.c index e798213e7f..5bd1fa70cc 100644 --- a/ext/ftp/php_ftp.c +++ b/ext/ftp/php_ftp.c @@ -688,7 +688,7 @@ PHP_FUNCTION(ftp_alloc) ret = ftp_alloc(ftp, size, zresponse ? &response : NULL); if (response) { - ZEND_TRY_ASSIGN_STR(zresponse, response); + ZEND_TRY_ASSIGN_REF_STR(zresponse, response); } if (!ret) { |