X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_vl_lookup_test.c;h=2d541eea9a29e021f15c88d3e2774afdda2b3213;hb=ff9e11ade5cfabf32c63fb19fc76cbbc4186bc5b;hp=41cc0a41af3a26c2ac7841178ca88289cd284f01;hpb=9b39918bdadabb12ec040f0f191c0d21cb6ddd53;p=collectd.git diff --git a/src/utils_vl_lookup_test.c b/src/utils_vl_lookup_test.c index 41cc0a41..2d541eea 100644 --- a/src/utils_vl_lookup_test.c +++ b/src/utils_vl_lookup_test.c @@ -24,8 +24,8 @@ * Florian Forster **/ -#include "testing.h" #include "collectd.h" +#include "testing.h" #include "utils_vl_lookup.h" static _Bool expect_new_obj = 0; @@ -68,7 +68,7 @@ static void *lookup_class_callback (data_set_t const *ds, assert (expect_new_obj); memcpy (&last_class_ident, class, sizeof (last_class_ident)); - + obj = malloc (sizeof (*obj)); strncpy (obj->host, vl->host, sizeof (obj->host)); strncpy (obj->plugin, vl->plugin, sizeof (obj->plugin));