aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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...");