Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8a9b8f3 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "adb: Avoid extra string construction" am: 6b42d6d8

Change-Id: I50743f9e3713d11c56d16bde9f6091f465f4db97
parents 5ce68b09 6b42d6d8
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -617,7 +617,7 @@ class SyncConnection {
        }
        }


        std::string path_and_mode = android::base::StringPrintf("%s,%d", path.c_str(), mode);
        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(),
            Error("failed to send ID_SEND_V1 message '%s': %s", path_and_mode.c_str(),
                  strerror(errno));
                  strerror(errno));
            return false;
            return false;