X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_tail_match.c;h=79868fcdf9a09cdd5670e0d1e22c0f35421a653e;hb=196f5bd17880d91ba0da33a8f5f6168d039cfa0c;hp=50622092a5953bb18af06e5ea33f5598e04c699b;hpb=f46d76e976ed76d2d8fa297918ecd308680d7ae9;p=collectd.git diff --git a/src/utils_tail_match.c b/src/utils_tail_match.c index 50622092..79868fcd 100644 --- a/src/utils_tail_match.c +++ b/src/utils_tail_match.c @@ -150,8 +150,9 @@ static int latency_submit_match(cu_match_t *match, void *user_data) { bucket.upper_bound ? CDTIME_T_TO_DOUBLE(bucket.upper_bound) : INFINITY; if (strlen(data->type_instance) != 0) - snprintf(vl.type_instance, sizeof(vl.type_instance), "%.54s-%.54s-%.2g_%.2g", - data->type, data->type_instance, lower_bound, upper_bound); + snprintf(vl.type_instance, sizeof(vl.type_instance), + "%.54s-%.54s-%.2g_%.2g", data->type, data->type_instance, + lower_bound, upper_bound); else snprintf(vl.type_instance, sizeof(vl.type_instance), "%.107s-%.2g_%.2g", data->type, lower_bound, upper_bound);