Merge pull request #6885 from nextcloud/bugfix/cloud-operation

Remove unecessary call to sendTransferInfo.
This commit is contained in:
Camila Ayres 2024-07-08 14:22:11 +02:00 committed by GitHub
commit b5c683fe47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;