commit | d57ade0e22386410814a2c1c18b1c832b806f90e | [log] [tgz] |
---|---|---|
author | Hungming Chen <nuccachen@google.com> | Tue Dec 25 15:47:47 2018 +0800 |
committer | Hungming Chen <nuccachen@google.com> | Mon Jan 14 18:49:18 2019 +0800 |
tree | ad11c641a4a124a0f89b07f4c797217953216754 | |
parent | d9c80e94f6c347ca0700cd85d3686e9e1a4f4c29 [diff] |
Remove thread-local variable h_errno in getaddrinfo related APIs Using a thread-local variable to return an int to the caller is a hack and adds a lot of complexity. Return error code with an int pointer instead. Test: built, flashed, booted system/netd/tests/runtests.sh pass Change-Id: Idd11da334f78ba04be72566764351d328866385a