summaryrefslogtreecommitdiff
path: root/sfeed_gopher.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2021-01-08 12:05:14 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2021-01-08 12:05:14 +0100
commitc7e3ec5f37738c43b3918cba6977fa51631a23af (patch)
treefd5ad17d3ef91cdc31f3cde199807362fb025fb7 /sfeed_gopher.c
parentbb34ab8d50cbe4c9525d06e4cb67fb58e48ae8b8 (diff)
sfeed_gopher: optimize common output character function
Same reason as the previous commit (allow to expand to macros).
Diffstat (limited to 'sfeed_gopher.c')
-rw-r--r--sfeed_gopher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed_gopher.c b/sfeed_gopher.c
index 69b15f6..918dcda 100644
--- a/sfeed_gopher.c
+++ b/sfeed_gopher.c
@@ -28,7 +28,7 @@ gophertext(FILE *fp, const char *s)
fputs(" ", fp);
break;
default:
- fputc(*s, fp);
+ putc(*s, fp);
break;
}
}