X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fgmond.c;h=50bd8323b24f47522ef08ed711040ef73aa55494;hp=c6804276be4ca7497b88fe621e48cd08c4e12265;hb=1159cb5d383c55a80a0db100b8f7aadcf44740a5;hpb=662c44a84ae3daecd4ffdea940fffce35a41b52a diff --git a/src/gmond.c b/src/gmond.c index c6804276..50bd8323 100644 --- a/src/gmond.c +++ b/src/gmond.c @@ -417,8 +417,8 @@ 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, - (type_instance != NULL) ? type_instance : ""); + snprintf(key, sizeof(key), "%s/%s/%s", host, type, + (type_instance != NULL) ? type_instance : ""); se = NULL; status = c_avl_get(staging_tree, key, (void *)&se);