projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db0c577
)
Remove unecessary call to sendTransferInfo.
author
Camila Ayres
<hello@camilasan.com>
Fri, 5 Jul 2024 17:34:03 +0000
(19:34 +0200)
committer
Camila 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
patch
|
blob
|
history
diff --git
a/src/libsync/vfs/cfapi/cfapiwrapper.cpp
b/src/libsync/vfs/cfapi/cfapiwrapper.cpp
index bbbf3f0d950469a03bd91028ec92b82aa64f7c29..00aee1190829fa6aa34fa99bea15ee86c573bf5e 100644
(file)
--- 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;