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