]> git.mxchange.org Git - friendica.git/commit
Remove useless call to gethostbyname()
authorHypolite Petovan <hypolite@mrpetovan.com>
Tue, 25 Jul 2023 13:37:33 +0000 (15:37 +0200)
committerHypolite Petovan <hypolite@mrpetovan.com>
Tue, 25 Jul 2023 13:37:33 +0000 (15:37 +0200)
commitbb980468467d740691a081a9fe3334070fa9a7eb
treef8a9943cb2aa154510923c8b00030cd33c08cae4
parent28d55c8c5d739aad9143285117b370d8712daf48
Remove useless call to gethostbyname()

- This function doesn't return a falsy value even when no IP address was able to be retrieved for the given host name
- Address https://github.com/friendica/friendica/issues/13157#issuecomment-1638505285
src/Network/HTTPClient/Client/HttpClient.php