commit 70b1fdee9277eacaf2962e428f3bc46fe69a1931 parent ee6016a10e63c3e121ffe0275af3902307f17364 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 6 Jul 2021 18:15:36 +0200 sfeed: printtrimmed function does not change or modify the buffer Make it const char *. Diffstat:
M | sfeed.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sfeed.c b/sfeed.c @@ -336,7 +336,7 @@ string_print_encoded(String *s) } static void -printtrimmed(char *s) +printtrimmed(const char *s) { char *p, *e;