diff options
author | Elliott Hughes <enh@google.com> | 2015-07-21 22:29:05 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-07-21 22:29:05 +0000 |
commit | 97e8d197771761ddb1024660ae02c3efd0749584 (patch) | |
tree | 38fe843e2d484b963ad731829ed53f207159f2c3 /adb_client.cpp | |
parent | c3881d176113a7fd2fc16f93958d09d4da3b9507 (diff) | |
parent | a5268097f605452a362ec0d49f9b3dd9174c1e92 (diff) | |
download | adb-97e8d197771761ddb1024660ae02c3efd0749584.tar.gz |
Merge "Recognize IPv6 addresses for "adb connect"."
Diffstat (limited to 'adb_client.cpp')
-rw-r--r-- | adb_client.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/adb_client.cpp b/adb_client.cpp index e42d928..75e888d 100644 --- a/adb_client.cpp +++ b/adb_client.cpp @@ -277,8 +277,7 @@ bool adb_query(const std::string& service, std::string* result, std::string* err D("adb_query: %s\n", service.c_str()); int fd = adb_connect(service, error); if (fd < 0) { - fprintf(stderr,"error: %s\n", error->c_str()); - return 0; + return false; } result->clear(); |