Remove unecessary call to sendTransferInfo.
authorCamila Ayres <hello@camilasan.com>
Fri, 5 Jul 2024 17:34:03 +0000 (19:34 +0200)
committerCamila Ayres <hello@camilasan.com>
Mon, 8 Jul 2024 10:03:37 +0000 (12:03 +0200)
Possible fix for #6876.

Signed-off-by: Camila Ayres <hello@camilasan.com>
src/libsync/vfs/cfapi/cfapiwrapper.cpp

index bbbf3f0d950469a03bd91028ec92b82aa64f7c29..00aee1190829fa6aa34fa99bea15ee86c573bf5e 100644 (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;