diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-01-17 18:53:22 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-01-17 18:53:22 +0100 |
commit | af9f0e612d0290d4d909c16d8f7877e7cc1c565f (patch) | |
tree | 5971eec0fad9cf50cad171f6da01ff52ec14272f /src | |
parent | e8d55df0c08992521b303b689338c48ddfa307ce (diff) | |
download | dabmux-af9f0e612d0290d4d909c16d8f7877e7cc1c565f.tar.gz dabmux-af9f0e612d0290d4d909c16d8f7877e7cc1c565f.tar.bz2 dabmux-af9f0e612d0290d4d909c16d8f7877e7cc1c565f.zip |
correct wrong usage of memset
Diffstat (limited to 'src')
-rw-r--r-- | src/StatsServer.cpp | 2 |
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 " << |