Merge pull request #3299 from nextcloud/bugfix/remove-unnecessary-cfapi-logging

Remove unnecessary cfapi logging statements
This commit is contained in:
Felix Weilbach 2021-05-12 11:54:58 +02:00 committed by GitHub
commit 96c80487a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,7 +92,6 @@ void CALLBACK cfApiFetchDataCallback(const CF_CALLBACK_INFO *callbackInfo, const
};
const auto sendTransferInfo = [=](QByteArray &data, qint64 offset) {
qDebug(lcCfApiWrapper) << "Send transfer info. Offset:" << offset;
cfApiSendTransferInfo(callbackInfo->ConnectionKey,
callbackInfo->TransferKey,
STATUS_SUCCESS,
@ -165,7 +164,6 @@ void CALLBACK cfApiFetchDataCallback(const CF_CALLBACK_INFO *callbackInfo, const
protrudingData = data.right(protudingSize);
data.chop(protudingSize);
qDebug(lcCfApiWrapper) << "Send data block. Size:" << data.size();
sendTransferInfo(data, dataOffset);
dataOffset += data.size();
};