diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2019-04-24 00:19:42 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2019-04-25 19:53:38 +0200 |
commit | 068a4dec639ab6a9b270785d605bef4b0abcec91 (patch) | |
tree | 36c3efdb77d4e4d6cf2cdcd79fed37a46c4f08b8 | |
parent | 9dab5d44d3ede9e9941590be7e0d77665a63156a (diff) |
util: small code-style fix
-rw-r--r-- | util.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |