diff options
-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; |