summaryrefslogtreecommitdiff
path: root/ext/ftp
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2019-04-24 18:28:29 +0300
committerDmitry Stogov <dmitry@zend.com>2019-04-24 18:28:29 +0300
commite188e4170fcc3e3a2d9ab57f3d3d24c4b26dd4bd (patch)
treebc2ece4c5f05fccda1ec1d528daef7ae4a9fb811 /ext/ftp
parenteef351b7c76675a3bfab4f7fbab021326d6c6135 (diff)
downloadphp-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.c2
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) {