summaryrefslogtreecommitdiff
path: root/adb/client/file_sync_client.cpp
diff options
context:
space:
mode:
authorSteven Laver <lavers@google.com>2020-04-26 19:23:49 -0700
committerSteven Laver <lavers@google.com>2020-04-26 19:23:49 -0700
commit4ac5a687c56a98bc54783c53d3a7ed38c93c4386 (patch)
tree36ded3563a964ecb44ef7fda3bb373aed83353d8 /adb/client/file_sync_client.cpp
parentbe3a52c076b2355e6ef6e4c37e8a2d99310151b5 (diff)
parent60264d77dc3e467004412af972ac5a80e8d12059 (diff)
Merge RP1A.200426.001
Change-Id: Ibf1e9770ee4685621e932873dbbebd97e4b4801a
Diffstat (limited to 'adb/client/file_sync_client.cpp')
-rw-r--r--adb/client/file_sync_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/client/file_sync_client.cpp b/adb/client/file_sync_client.cpp
index 190c235396..e686973db4 100644
--- a/adb/client/file_sync_client.cpp
+++ b/adb/client/file_sync_client.cpp
@@ -617,7 +617,7 @@ class SyncConnection {
}
std::string path_and_mode = android::base::StringPrintf("%s,%d", path.c_str(), mode);
- if (!SendRequest(ID_SEND_V1, path_and_mode.c_str())) {
+ if (!SendRequest(ID_SEND_V1, path_and_mode)) {
Error("failed to send ID_SEND_V1 message '%s': %s", path_and_mode.c_str(),
strerror(errno));
return false;