diff options
author | dec05eba <0xdec05eba@gmail.com> | 2018-06-09 19:20:13 +0200 |
---|---|---|
committer | dec05eba <0xdec05eba@gmail.com> | 2018-06-09 19:20:19 +0200 |
commit | bb998674c6f5f4c5c2ae5cb3d14cc4ad333a2db2 (patch) | |
tree | 84f37dc813a1b362e0ac05e7a992387993918289 /src | |
parent | 4b0ee7c887deb1d385497cff694c2098ce4e4ba6 (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..."); |