summaryrefslogtreecommitdiff
path: root/plugins/mmcount/mmcount.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mmcount/mmcount.c')
-rw-r--r--plugins/mmcount/mmcount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mmcount/mmcount.c b/plugins/mmcount/mmcount.c
index f5fc001..64b296a 100644
--- a/plugins/mmcount/mmcount.c
+++ b/plugins/mmcount/mmcount.c
@@ -277,7 +277,7 @@ CODESTARTdoAction
if(!pData->pszKey) {
/* no key given for count, so we count severity */
- if(pMsg->iSeverity <= SEVERITY_COUNT) {
+ if(pMsg->iSeverity < SEVERITY_COUNT) {
pData->severity[pMsg->iSeverity]++;
json = json_object_new_int(pData->severity[pMsg->iSeverity]);
}