port numbers: convert them to network order!
authorDaniel Stenberg <daniel@haxx.se>
Sat, 25 Feb 2012 21:42:39 +0000 (22:42 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 16 Mar 2012 15:06:03 +0000 (16:06 +0100)
commit506d5862768b3b26969de9daab3fa77b7cb1ab7d
tree65f667c7955cf64f576a6579e5b7f7f0bba5f403
parent1c26242c52725631834db250589ccdde8dab49cf
port numbers: convert them to network order!

When the config options ARES_OPT_UDP_PORT or ARES_OPT_TCP_PORT are used,
make sure to convert them to network byte order!

Bug: http://c-ares.haxx.se/mail/c-ares-archive-2012-02/0004.shtml
ares_init.c