From 26e442fca3e586a3f186b1e46db9f357b50d1805 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 4 Dec 2023 18:44:09 +0100 Subject: [PATCH] ./contrib/format.sh src/write_log.c --- src/write_log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/write_log.c b/src/write_log.c index dc01d097c..8b1c510ff 100644 --- a/src/write_log.c +++ b/src/write_log.c @@ -60,7 +60,7 @@ static int wl_write_graphite(metric_family_t const *fam) { } /* trim newlines emitted by format_graphite() */ - while (buf.pos > 0 && isspace(buf.ptr[buf.pos-1])) { + while (buf.pos > 0 && isspace(buf.ptr[buf.pos - 1])) { buf.pos--; buf.ptr[buf.pos] = 0; } -- 2.47.2