summaryrefslogtreecommitdiffstats
path: root/src/StatsServer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/StatsServer.cpp')
-rw-r--r--src/StatsServer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StatsServer.cpp b/src/StatsServer.cpp
index 1d2984e..4ae92d6 100644
--- a/src/StatsServer.cpp
+++ b/src/StatsServer.cpp
@@ -211,7 +211,7 @@ void StatsServer::serverThread()
}
/* receive command */
- memset(buffer, 256, 0);
+ memset(buffer, 0, 256);
int n = read(accepted_sock, buffer, 255);
if (n < 0) {
etiLog.level(warn) << "Error reading from Stats Server socket " <<