diff options
Diffstat (limited to 'adb/client/file_sync_client.cpp')
-rw-r--r-- | adb/client/file_sync_client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/adb/client/file_sync_client.cpp b/adb/client/file_sync_client.cpp index 8bbe2a878..2e8b97566 100644 --- a/adb/client/file_sync_client.cpp +++ b/adb/client/file_sync_client.cpp @@ -1053,7 +1053,7 @@ static bool sync_send(SyncConnection& sc, const std::string& lpath, const std::s if (!sc.SendSmallFile(rpath, mode, lpath, rpath, mtime, buf, data_length, dry_run)) { return false; } - return sc.ReadAcknowledgements(); + return sc.ReadAcknowledgements(sync); #endif } @@ -1077,7 +1077,7 @@ static bool sync_send(SyncConnection& sc, const std::string& lpath, const std::s return false; } } - return sc.ReadAcknowledgements(); + return sc.ReadAcknowledgements(sync); } static bool sync_recv_v1(SyncConnection& sc, const char* rpath, const char* lpath, const char* name, |