Merge "adb: Fix incorrect logging statement"

This commit is contained in:
Treehugger Robot 2019-01-28 20:10:50 +00:00 committed by Gerrit Code Review
commit 32aaba6dcf

View file

@ -359,8 +359,9 @@ asocket* create_local_service_socket(std::string_view name, atransport* transpor
return nullptr; return nullptr;
} }
int fd_value = fd.get();
asocket* s = create_local_socket(std::move(fd)); asocket* s = create_local_socket(std::move(fd));
LOG(VERBOSE) << "LS(" << s->id << "): bound to '" << name << "' via " << fd.get(); LOG(VERBOSE) << "LS(" << s->id << "): bound to '" << name << "' via " << fd_value;
#if !ADB_HOST #if !ADB_HOST
if ((name.starts_with("root:") && getuid() != 0 && __android_log_is_debuggable()) || if ((name.starts_with("root:") && getuid() != 0 && __android_log_is_debuggable()) ||