[php-src] PR #12849: Cleanup internal FTP APIs.
| From: | nielsdos | Date: | Sat, 02 Dec 2023 13:43:39 +0000 |
| Subject: | [php-src] PR #12849: Cleanup internal FTP APIs. | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-24396@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/12849
Author: nielsdos
[Cleanup internal data_close
API](https://github.com/php/php-src/commit/99fbb8a9e3c938f9a822042c6266fe0998ef6942)
This always returns NULL. Also passing in data is not necessary as it is
always equal to ftp->data.
[Remove redundant assignments to
ftp->data](https://github.com/php/php-src/commit/f676f0e3aea597dd5876091909a77407d8fd309a)
ftp_getdata() already does this.