summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2021-07-06 18:15:36 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2021-07-06 18:15:36 +0200
commit70b1fdee9277eacaf2962e428f3bc46fe69a1931 (patch)
tree574174489278f8b7e5201ff9992dfe1bf88b7f9c
parentee6016a10e63c3e121ffe0275af3902307f17364 (diff)
sfeed: printtrimmed function does not change or modify the buffer
Make it const char *.
-rw-r--r--sfeed.c2
1 files changed, 1 insertions, 1 deletions
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;