From a78a8a719b2466776dc0aeddba22ec62cd8020ee Mon Sep 17 00:00:00 2001 From: Camila Ayres Date: Fri, 5 Jul 2024 19:34:03 +0200 Subject: [PATCH] Remove unecessary call to sendTransferInfo. Possible fix for #6876. Signed-off-by: Camila Ayres --- src/libsync/vfs/cfapi/cfapiwrapper.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libsync/vfs/cfapi/cfapiwrapper.cpp b/src/libsync/vfs/cfapi/cfapiwrapper.cpp index a5f370acbf42a..645dcfc8015e4 100644 --- a/src/libsync/vfs/cfapi/cfapiwrapper.cpp +++ b/src/libsync/vfs/cfapi/cfapiwrapper.cpp @@ -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;