commit | 43cc1b1532d68e9780fa5faf622b9879274582aa | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Tue Oct 15 19:06:42 2019 +0900 |
committer | Luke Huang <huangluke@google.com> | Sat Nov 02 00:23:03 2019 +0800 |
tree | a677afcdffdb737fc70fa604ff347d1ce129c98f | |
parent | ee085b0240fd41c05a022a06be11f93cc0a33645 [diff] |
res_nsend() refactor Keep the logic but remove goto statement simpify the code flow and remove the redundant code Bug: 135717624 Test: atest Change-Id: I99e0a85b350ebdf74781684c944c5106c10f407d
This code uses LOG(X) for logging. Log levels are VERBOSE,DEBUG,INFO,WARNING and ERROR. The default setting is WARNING and logs relate to WARNING and ERROR will be shown. If you want to enable the DEBUG level logs, using following command. adb shell service call dnsresolver 10 i32 1 VERBOSE 0 DEBUG 1 INFO 2 WARNING 3 ERROR 4 Verbose resolver logs could contain PII -- do NOT enable in production builds.