X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fgmond.c;h=03dedcca606249c7b771f7511dd75f5c8a427a9a;hb=2ad4f9fcecbd76e6da0cc3ec64024aa1081426ab;hp=132c138ddfed955b481436f17a577b13ef7aadb6;hpb=8f6aa6970bf787e6a11e095322af3338ec781d78;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);