diff options
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 ef9a586..9a1b761 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(); |