summaryrefslogtreecommitdiff
path: root/adb/client/file_sync_client.cpp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2020-04-24 01:12:01 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-04-24 01:12:01 +0000
commitbaeb3db3c09ab3ac6614a5b079f24fdee40deecc (patch)
treea66d398950bcfb79390ab3c14d3077f71ba92877 /adb/client/file_sync_client.cpp
parent11c825b50e20a2a544a3b0e15eeab1aa80a43c53 (diff)
parent04083e2ba83c7fcbab76c19affe54b07492beabc (diff)
Snap for 6424828 from 04083e2ba83c7fcbab76c19affe54b07492beabc to rvc-release
Change-Id: Ic1e74156dfdce21b4b903481958e93bc7779af34
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;