diff options
Diffstat (limited to 'adb/file_sync_client.cpp')
-rw-r--r-- | adb/file_sync_client.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/adb/file_sync_client.cpp b/adb/file_sync_client.cpp index 5222560549..56ff68c582 100644 --- a/adb/file_sync_client.cpp +++ b/adb/file_sync_client.cpp @@ -677,9 +677,8 @@ static bool sync_recv(SyncConnection& sc, const char* rpath, const char* lpath, bytes_copied += msg.data.size; - sc.ReportProgress(name != nullptr ? name : rpath, bytes_copied, size); sc.RecordBytesTransferred(msg.data.size); - sc.ReportProgress(rpath, bytes_copied, size); + sc.ReportProgress(name != nullptr ? name : rpath, bytes_copied, size); } sc.RecordFilesTransferred(1); |