X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Fgmond.c;fp=src%2Fgmond.c;h=50bd8323b24f47522ef08ed711040ef73aa55494;hb=e746ad785774de37a30302fef65f1c4aaf8698ab;hp=75643c44e6f9abceb137ced0305aa8a0ae7ce69e;hpb=f81a5a84d3d5fc941b624c28b1ab70971cc23ac9;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);