X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fplugin.c;h=538ebe55d9bb64d42529d2206b73a7a07010d2bd;hb=a55e821f4a497ca57161a023206cee5f21f3aed2;hp=24b269865da47cd74a1ea631b3ecd1c8c5eabb5f;hpb=edb6c3544ab2755c85e8931cbef960e9cedd48cf;p=collectd.git diff --git a/src/plugin.c b/src/plugin.c index 24b26986..538ebe55 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -151,7 +151,7 @@ static void destroy_read_heap (void) /* {{{ */ { callback_func_t *cf; - cf = c_head_get_root (read_heap); + cf = c_heap_get_root (read_heap); if (cf == NULL) break; @@ -329,7 +329,7 @@ static void *plugin_read_thread (void __attribute__((unused)) *args) int rf_type; /* Get the read function that needs to be read next. */ - rf = c_head_get_root (read_heap); + rf = c_heap_get_root (read_heap); if (rf == NULL) { struct timespec abstime; @@ -1053,7 +1053,7 @@ int plugin_read_all_once (void) { read_func_t *rf; - rf = c_head_get_root (read_heap); + rf = c_heap_get_root (read_heap); if (rf == NULL) break;