From: Pavel Rochnyack Date: Mon, 28 May 2018 14:03:02 +0000 (+0700) Subject: redis plugin: fix issue found by master aggregation tests X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=f2dfcc7bea1dd34d6679d334e2c94854d0029e7b;p=collectd.git redis plugin: fix issue found by master aggregation tests --- diff --git a/src/redis.c b/src/redis.c index 6aee49b6..57340981 100644 --- a/src/redis.c +++ b/src/redis.c @@ -382,7 +382,7 @@ static int redis_db_stats(char *node, char const *info_line) /* {{{ */ for (int db = 0; db < REDIS_DEF_DB_COUNT; db++) { static char buf[MAX_REDIS_VAL_SIZE]; static char field_name[12]; - static char db_id[3]; + static char db_id[4]; value_t val; char *str; int i;