Skip to content

Commit

Permalink
Merge pull request #6913 from nextcloud/backport/6885/stable-3.12
Browse files Browse the repository at this point in the history
Remove unecessary call to sendTransferInfo.
  • Loading branch information
camilasan authored Jul 15, 2024
2 parents 0e4bb63 + a78a8a7 commit 7fc2378
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/libsync/vfs/cfapi/cfapiwrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,6 @@ void CALLBACK cfApiFetchDataCallback(const CF_CALLBACK_INFO *callbackInfo, const
protrudingData.clear();
if (data.size() < cfapiBlockSize) {
protrudingData = data;
sendTransferInfo(data, dataOffset);
dataOffset += data.size();
return;
}
const auto protudingSize = data.size() % cfapiBlockSize;
Expand Down

0 comments on commit 7fc2378

Please sign in to comment.