diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-06-09 19:20:13 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-08-18 22:56:48 +0200 |
commit | 49c167246a53b29d9d1586e00bb3c158a8d75006 (patch) | |
tree | fd4b0b7f856814e5b0d7d9849af6f3989894f3da /src | |
parent | 9e28495cb7309ea07431a02838eccbbb46841daa (diff) |
Receive correct amount of data
Diffstat (limited to 'src')
-rw-r--r-- | src/DirectConnection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DirectConnection.cpp b/src/DirectConnection.cpp index 8e60c47..37f5b34 100644 --- a/src/DirectConnection.cpp +++ b/src/DirectConnection.cpp @@ -253,7 +253,7 @@ namespace sibs return 0; } - receivedTotalSize += dataAvailableSize; + receivedTotalSize += receivedSize; } Log::error("UDT: Received too much data, ignoring..."); |