commit c7e3ec5f37738c43b3918cba6977fa51631a23af
parent bb34ab8d50cbe4c9525d06e4cb67fb58e48ae8b8
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 8 Jan 2021 12:05:14 +0100
sfeed_gopher: optimize common output character function
Same reason as the previous commit (allow to expand to macros).
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;
}
}