commit | a5268097f605452a362ec0d49f9b3dd9174c1e92 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <[email protected]> | Sat Jul 18 12:21:30 2015 -0700 |
committer | Elliott Hughes <[email protected]> | Tue Jul 21 15:25:14 2015 -0700 |
tree | 2be312cbca0b49375c67d451a2648042d3efa370 | |
parent | ebf3aaf3477c75c6bbc4b2c49542e6fe7a91dce7 [diff] [blame] |
Recognize IPv6 addresses for "adb connect". Bug: http://b/22559299 Change-Id: I32891d706b5010c38db84a056e76dd279b780f75
diff --git a/adb_client.cpp b/adb_client.cpp index ef9a586..9a1b761 100644 --- a/adb_client.cpp +++ b/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();