inet: fix getnameinfo problem found by new test cases
commit892932d9e23aa417f0f067cbd628868eb5bc8e48
authorWaldemar Brodkorb <wbx@openadk.org>
Fri, 30 Dec 2016 11:19:59 +0000 (30 12:19 +0100)
committerWaldemar Brodkorb <wbx@openadk.org>
Fri, 30 Dec 2016 11:19:59 +0000 (30 12:19 +0100)
treeb4b1a8e41fa770e72d65006815a09c52f06aa49b
parent278bb4a6c8bd8533b611e2139cfd94dc1e135e21
inet: fix getnameinfo problem found by new test cases

Follow documented behaviour:
http://man7.org/linux/man-pages/man3/getnameinfo.3.html

Sync with GNU libc behaviour.
libc/inet/resolv.c