X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fgmond.c;h=50bd8323b24f47522ef08ed711040ef73aa55494;hb=d544398864bc02dfd1623e6d005591b512e2f6c6;hp=75643c44e6f9abceb137ced0305aa8a0ae7ce69e;hpb=be126043c2be20399d7670fe194645292018bde0;p=collectd.git diff --git a/src/gmond.c b/src/gmond.c index 75643c44..50bd8323 100644 --- a/src/gmond.c +++ b/src/gmond.c @@ -418,7 +418,7 @@ static staging_entry_t *staging_entry_get(const char *host, /* {{{ */ return NULL; snprintf(key, sizeof(key), "%s/%s/%s", host, type, - (type_instance != NULL) ? type_instance : ""); + (type_instance != NULL) ? type_instance : ""); se = NULL; status = c_avl_get(staging_tree, key, (void *)&se);