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

Florian Forster octo at verplant.org
Tue May 16 10:17:18 CEST 2017


 Makefile.am              |    9 ++++
 src/curl_json.c          |  112 +++++++++++++++++++++++-------------------
 src/curl_json_test.c     |  121 ++++++++++++++++++++++++++++++++++++++++++++++
 src/daemon/plugin_mock.c |   30 +++++++++++-
 src/testing.h            |    3 +-
 src/virt.c               |   39 +++++++--------
 6 files changed, 242 insertions(+), 72 deletions(-)

New commits:
commit 798339ec371ea2f38ef4f2090a9bb98b766da44b
Author: Florian Forster <octo at collectd.org>
Date:   Mon May 15 14:40:56 2017 +0200

    curl_json plugin: Implement a unit test.
    
    Issue: #2266

commit f454d6080814b88cd02b3b7e11b2cdb743081b20
Author: Florian Forster <octo at collectd.org>
Date:   Mon May 15 17:25:44 2017 +0200

    src/testing.h: Fix result of EXPECT_EQ_DOUBLE() when actual is NAN.

commit 25424fc201201212234ab2d974977e05de626b38
Author: Florian Forster <octo at collectd.org>
Date:   Mon May 15 17:25:08 2017 +0200

    src/daemon/plugin_mock.c: Add stubs for additional functions.

commit dde9eba241dfa47eae24d7e837cbbd19b074de18
Author: Florian Forster <octo at collectd.org>
Date:   Mon May 15 14:59:14 2017 +0200

    curl_json plugin: Split cj_append_key() out of cj_config_add_key().

commit 2576e1470e75a06105be5515cec96fb701c3bb05
Author: Florian Forster <octo at collectd.org>
Date:   Tue May 16 09:04:44 2017 +0200

    curl_json plugin: Use struct initializer.

commit de1b8d7a0a25aab2e0a321493ea55769f251f6e6
Author: Florian Forster <octo at collectd.org>
Date:   Mon May 15 14:57:46 2017 +0200

    curl_json plugin: Remove unused field from cj_t.

commit f70935ddfb05b03de6e6dff95d842cb7c553e8b9
Merge: 57b9e83 693c9b8
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Mon May 15 10:53:07 2017 +0200

    Merge pull request #2279 from octo/ff/virt
    
    virt plugin: Replace virTypedParamsFree() with virTypedParamsClear() …

commit 693c9b8cb27746c45f7039e232dcb8d22f7e4ce4
Author: Florian Forster <octo at collectd.org>
Date:   Mon May 15 08:51:56 2017 +0200

    virt plugin: Replace virTypedParamsFree() with virTypedParamsClear() and sfree().
    
    The parameters are allocated with calloc(), freeing them with a library
    function is unintuitive at best. Also, the library functions appears to
    be missing the appropriate function attribute to tell clang / GCC that
    it will free the pointer, resulting in a false-positive scan-build
    report.




More information about the collectd-changes mailing list