aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <0xdec05eba@gmail.com>2018-06-09 19:20:13 +0200
committerdec05eba <0xdec05eba@gmail.com>2018-06-09 19:20:19 +0200
commitbb998674c6f5f4c5c2ae5cb3d14cc4ad333a2db2 (patch)
tree84f37dc813a1b362e0ac05e7a992387993918289 /src
parent4b0ee7c887deb1d385497cff694c2098ce4e4ba6 (diff)
Receive correct amount of data
Diffstat (limited to 'src')
-rw-r--r--src/DirectConnection.cpp2
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...");