diff options
author | Hiltjo Posthuma <[email protected]> | 2021-01-09 14:59:53 +0100 |
---|---|---|
committer | Hiltjo Posthuma <[email protected]> | 2021-01-09 14:59:53 +0100 |
commit | 722f8364601d2b6ee2439b42cd75750f6aac90ed (patch) | |
tree | 98d1538a71427a601a9c3db18aad5923eb5acc79 /stagit-index.c | |
parent | 5044ddeea3c77fea97daa62d51593d73b0e08413 (diff) | |
download | stagit-722f8364601d2b6ee2439b42cd75750f6aac90ed.tar.gz stagit-722f8364601d2b6ee2439b42cd75750f6aac90ed.zip |
micro-optimization: fputc (function) -> putc (macro/inline function)
Diffstat (limited to 'stagit-index.c')
-rw-r--r-- | stagit-index.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stagit-index.c b/stagit-index.c index bb0ad3c..5cf9053 100644 --- a/stagit-index.c +++ b/stagit-index.c @@ -41,7 +41,7 @@ xmlencode(FILE *fp, const char *s, size_t len) case '\'': fputs("'" , fp); break; case '&': fputs("&", fp); break; case '"': fputs(""", fp); break; - default: fputc(*s, fp); + default: putc(*s, fp); } } } |