From d4074c79938f98d4e787214ce6dafa9b008d8125 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Wed, 2 Dec 2015 19:14:19 +0100 Subject: [PATCH] clientlog: fix counting of command drops --- clientlog.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clientlog.c b/clientlog.c index a667d60..d96649a 100644 --- a/clientlog.c +++ b/clientlog.c @@ -508,6 +508,8 @@ CLG_LimitCommandResponseRate(int index) if (!limit_response_random(cmd_leak_rate)) return 0; + record->cmd_drops++; + return 1; }