summaryrefslogtreecommitdiff
path: root/adb/client/file_sync_client.cpp
diff options
context:
space:
mode:
authorSteven Laver <lavers@google.com>2020-04-28 14:34:30 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-04-28 14:34:30 +0000
commitaa82a3d93801a59d8cf8af115c7bf235e7243fcc (patch)
tree36ded3563a964ecb44ef7fda3bb373aed83353d8 /adb/client/file_sync_client.cpp
parentc30cc8172fda35c81c7ccfd94d2dc00881d1d2c3 (diff)
parent4ac5a687c56a98bc54783c53d3a7ed38c93c4386 (diff)
Merge "Merge RP1A.200426.001" into r-keystone-qcom-dev
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;