From 9d8c92356cf53a636d701beb07e53db58e72840e Mon Sep 17 00:00:00 2001 From: Andreas Gocht-Zech Date: Sun, 20 Aug 2023 22:28:43 +0200 Subject: [PATCH] fix --- src/process.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/process.cpp b/src/process.cpp index 236a5f9..bf61efd 100644 --- a/src/process.cpp +++ b/src/process.cpp @@ -200,8 +200,8 @@ void Process::getlast(u_int64_t *recvd, u_int64_t *sent) { *sent = sum_sent - this->sent_last_reported; *recvd = sum_recv - this->rcvd_last_reported; - this->sent_last_reported = *sent; - this->rcvd_last_reported = *recvd; + this->sent_last_reported = sum_sent; + this->rcvd_last_reported = sum_recv; }