]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
redis plugin: fix issue found by master aggregation tests
authorPavel Rochnyack <pavel2000@ngs.ru>
Mon, 28 May 2018 14:00:04 +0000 (21:00 +0700)
committerPavel Rochnyack <pavel2000@ngs.ru>
Mon, 28 May 2018 14:00:04 +0000 (21:00 +0700)
src/redis.c

index 47fa28d0b381bf7287ea761cc98adbe68d252bbb..6aee49b6295a78ced31728445841e6ec80165cd1 100644 (file)
@@ -381,7 +381,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[11];
+    static char field_name[12];
     static char db_id[3];
     value_t val;
     char *str;