[collectd-changes] collectd, the system statistics collection daemon: Changes to 'master'

Florian Forster octo at verplant.org
Tue May 15 07:52:18 CEST 2018


 src/collectdmon.c |   93 +++++++++++++++++++++++++----------------------------
 src/nut.c         |    3 +-
 2 files changed, 45 insertions(+), 51 deletions(-)

New commits:
commit 67b77875fa96f683987d639b29437bfbf941c4f6
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Tue May 15 00:27:58 2018 +0200

    nut plugin: fix warning
    
      CC       src/nut_la-nut.lo
    In function ‘nut_ca_path’,
        inlined from ‘nut_config.part.1’ at src/nut.c:181:12,
        inlined from ‘nut_config’:
    src/nut.c:148:5: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
         strncpy(ca_path, value, (strlen(value) + 1));
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/nut.c: In function ‘nut_config’:
    src/nut.c:148:30: note: length computed here
         strncpy(ca_path, value, (strlen(value) + 1));
                                  ^~~~~~~~~~~~~
      CCLD     nut.la

commit 14d5571cccff7d32a75956cec5a2805e8249dfad
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Tue May 15 00:08:35 2018 +0200

    collectdmon: modernize the code a bit

commit 86d2e36f6c6b1b9c7c43cb72e4bcc50eb9a9dc54
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Mon May 14 23:38:09 2018 +0200

    collectdmon: remove unneccesary cast




More information about the collectd-changes mailing list