diff options
Diffstat (limited to 'src/core/netclient.cc')
-rw-r--r-- | src/core/netclient.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/netclient.cc b/src/core/netclient.cc index 0c0d72a..b90f164 100644 --- a/src/core/netclient.cc +++ b/src/core/netclient.cc @@ -10,6 +10,7 @@ #include "sys/sys.h" #include "core/net.h" #include "core/application.h" +#include "core/stats.h" namespace core { @@ -145,6 +146,7 @@ void NetClient::transmit(int serverfd) } sendq.erase(0, bytes_sent); + Stats::network_bytes_sent += bytes_sent; } sendq.clear(); |