Code

ceph plugin: Change g_num_daemons to size_t.
authorFlorian Forster <octo@collectd.org>
Sun, 14 Aug 2016 19:02:31 +0000 (21:02 +0200)
committerFlorian Forster <octo@collectd.org>
Sun, 14 Aug 2016 19:02:34 +0000 (21:02 +0200)
commit517b79d297b496077bd1e0e14d02250998f2df33
tree7d16a728c20e5979796820f34305f910e1f6febf
parent2e80174b4aa0b983c193453b1062677a0d28188c
ceph plugin: Change g_num_daemons to size_t.

The variable is used as size for variable length arrays (VLAs), which
cannot have negative size.

Issue: #1835
src/ceph.c