From: Florian Forster Date: Mon, 4 Dec 2023 17:44:09 +0000 (+0100) Subject: ./contrib/format.sh src/write_log.c X-Git-Tag: 6.0.0-rc0~41^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4179%2Fhead;p=thirdparty%2Fcollectd.git ./contrib/format.sh src/write_log.c --- 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; }