commit | 3d5f60dbba3bc0feabc05457d181547b295bb3b2 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Sat Jul 18 12:21:30 2015 -0700 |
committer | Elliott Hughes <enh@google.com> | Tue Jul 21 15:25:14 2015 -0700 |
tree | 694ddc550b83992e912b457ac75776dd69d48116 | |
parent | ff2016599ddaab326ff94c9f1680ac641bb0055e [diff] [blame] |
Recognize IPv6 addresses for "adb connect". Bug: http://b/22559299 Change-Id: I32891d706b5010c38db84a056e76dd279b780f75
diff --git a/adb/adb_client.cpp b/adb/adb_client.cpp index ef9a586..9a1b761 100644 --- a/adb/adb_client.cpp +++ b/adb/adb_client.cpp
@@ -277,8 +277,7 @@ 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();