X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fgmond.c;h=03dedcca606249c7b771f7511dd75f5c8a427a9a;hb=d93c31e59d1bbb5ed8c2ef624ef8ffa800bc5961;hp=132c138ddfed955b481436f17a577b13ef7aadb6;hpb=43d22c19485997e82d28a9ed7ba17965882dc27f;p=collectd.git diff --git a/src/gmond.c b/src/gmond.c index 132c138d..03dedcca 100644 --- a/src/gmond.c +++ b/src/gmond.c @@ -398,7 +398,7 @@ static staging_entry_t *staging_entry_get(const char *host, /* {{{ */ return NULL; ssnprintf(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);