From 70b1fdee9277eacaf2962e428f3bc46fe69a1931 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Tue, 6 Jul 2021 18:15:36 +0200 Subject: sfeed: printtrimmed function does not change or modify the buffer Make it const char *. --- sfeed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfeed.c b/sfeed.c index 645342c..ac599a9 100644 --- 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; -- cgit v1.2.3