From 068a4dec639ab6a9b270785d605bef4b0abcec91 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Wed, 24 Apr 2019 00:19:42 +0200 Subject: util: small code-style fix --- util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util.c b/util.c index 48d01bb..15e15e0 100644 --- a/util.c +++ b/util.c @@ -226,8 +226,8 @@ strtotime(const char *s, time_t *t) void xmlencode(const char *s, FILE *fp) { - for (; *s; s++) { - switch(*s) { + for (; *s; ++s) { + switch (*s) { case '<': fputs("<", fp); break; case '>': fputs(">", fp); break; case '\'': fputs("'", fp); break; -- cgit v1.2.3