summaryrefslogtreecommitdiff
path: root/plugins/TrafficCounter/src/vars.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TrafficCounter/src/vars.cpp')
-rw-r--r--plugins/TrafficCounter/src/vars.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TrafficCounter/src/vars.cpp b/plugins/TrafficCounter/src/vars.cpp
index 613be1f438..df74fc82c9 100644
--- a/plugins/TrafficCounter/src/vars.cpp
+++ b/plugins/TrafficCounter/src/vars.cpp
@@ -167,7 +167,7 @@ void RegisterVariablesTokens(void)
if (!bVariablesExists) return;
- ZeroMemory(&trs, sizeof(trs));
+ memset(&trs, 0, sizeof(trs));
trs.cbSize = sizeof(TOKENREGISTER);
// Функция, возвращающая трафик