X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fgmond.c;h=75643c44e6f9abceb137ced0305aa8a0ae7ce69e;hb=be126043c2be20399d7670fe194645292018bde0;hp=c6804276be4ca7497b88fe621e48cd08c4e12265;hpb=1035fba8812893e50d00a871e3399cc1ece3b384;p=collectd.git diff --git a/src/gmond.c b/src/gmond.c index c6804276..75643c44 100644 --- a/src/gmond.c +++ b/src/gmond.c @@ -417,7 +417,7 @@ static staging_entry_t *staging_entry_get(const char *host, /* {{{ */ if (staging_tree == NULL) return NULL; - ssnprintf(key, sizeof(key), "%s/%s/%s", host, type, + snprintf(key, sizeof(key), "%s/%s/%s", host, type, (type_instance != NULL) ? type_instance : ""); se = NULL;