]> granicus.if.org Git - curl/commit
hostip: avoid getaddrinfo when c-ares is used
authorDaniel Stenberg <daniel@haxx.se>
Thu, 12 Jan 2012 22:13:19 +0000 (23:13 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 12 Jan 2012 22:13:19 +0000 (23:13 +0100)
commit9f20379fe445d0994daa11d022270aea5ab99af6
treeae270fbf9f829ef8161697c2239bd6333232faef
parent123c92c904b2f258ae69e211aa2663e80cb5429a
hostip: avoid getaddrinfo when c-ares is used

Some functions using getaddrinfo and gethostbyname were still
mistakingly being used/linked even if c-ares was selected as resolver
backend.

Reported by: Arthur Murray
Bug: http://curl.haxx.se/mail/lib-2012-01/0160.html
lib/hostip4.c
lib/setup.h
lib/tftp.c