Skip to content

Commit

Permalink
Remove unecessary call to sendTransferInfo.
Browse files Browse the repository at this point in the history
Possible fix for #6876.

Signed-off-by: Camila Ayres <hello@camilasan.com>
  • Loading branch information
camilasan committed Jul 5, 2024
1 parent 25acde4 commit 77f0734
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 77f0734

Please sign in to comment.