summaryrefslogtreecommitdiff
path: root/libcutils/socket_local_server_unix.cpp
diff options
context:
space:
mode:
authorSpencer Low <CompareAndSwap@gmail.com>2015-07-21 02:06:26 -0700
committerSpencer Low <CompareAndSwap@gmail.com>2015-07-21 02:06:26 -0700
commit8d8126a705dd3c5734a0894f88c2c758784bd469 (patch)
treed319a7efd00aecd6b16172497fa17f186f89cf7f /libcutils/socket_local_server_unix.cpp
parent05418442ff15e854a1041e26f56bd2f9e702d7f4 (diff)
adb: logging: newlines, thread ids, error code overwriting
Add missing \n to uses of legacy D() macro. This should make the legacy logging easier to read (and harder to miss important stuff). On POSIX, use gettid() from libcutils instead of pthread_self() so that the output shows a more reasonable number instead of a pointer value. This should be ok since libbase's logging already uses gettid(). Win32: Don't let the Win32 last error get overwritten by API calls after the original error'ing API. When encountering an unknown error, log the specific error code. Change-Id: Ib8f72754efa7ba895d2f1cd914251fec2a1d894c Signed-off-by: Spencer Low <CompareAndSwap@gmail.com>
Diffstat (limited to 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions