summaryrefslogtreecommitdiff
path: root/src/socketengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/socketengine.cpp')
-rw-r--r--src/socketengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socketengine.cpp b/src/socketengine.cpp
index 90d25e060..3cb262652 100644
--- a/src/socketengine.cpp
+++ b/src/socketengine.cpp
@@ -242,7 +242,7 @@ void SocketEngine::GetStats(float &kbitpersec_in, float &kbitpersec_out, float &
{
float in_kbit = indata * 8;
float out_kbit = outdata * 8;
- kbitpersec_total = ((in_kbit + out_kbit)) / 1024);
+ kbitpersec_total = ((in_kbit + out_kbit) / 1024);
kbitpersec_in = in_kbit / 1024;
kbitpersec_out = out_kbit / 1024;
}