[Asterisk-code-review] utils.c: Remove all usages of ast_gethostbyname() (asterisk[16])

Sean Bright asteriskteam at digium.com
Sun Dec 26 17:14:54 CST 2021


Attention is currently required from: Sean Bright.
Hello Friendly Automation, 

I'd like you to reexamine a change. Please visit

    https://gerrit.asterisk.org/c/asterisk/+/17713

to look at the new patch set (#4).

Change subject: utils.c: Remove all usages of ast_gethostbyname()
......................................................................

utils.c: Remove all usages of ast_gethostbyname()

gethostbyname() and gethostbyname_r() are deprecated in favor of
getaddrinfo() which we use in the ast_sockaddr family of functions.

ASTERISK-29819 #close

Change-Id: Ie277c0ef768d753b169c121ef570a71665692ab7
---
M addons/ooh323c/src/ooSocket.c
M apps/app_festival.c
M channels/chan_mgcp.c
M channels/chan_skinny.c
M channels/chan_unistim.c
M channels/iax2/provision.c
M main/config.c
7 files changed, 81 insertions(+), 67 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/13/17713/4
-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/17713
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: Ie277c0ef768d753b169c121ef570a71665692ab7
Gerrit-Change-Number: 17713
Gerrit-PatchSet: 4
Gerrit-Owner: Sean Bright <sean at seanbright.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Attention: Sean Bright <sean at seanbright.com>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20211226/a61034f9/attachment.html>


More information about the asterisk-code-review mailing list