From 3495ad1369c1dc484a4f1ee4604e4afab38d2bea Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 29 Apr 2010 01:45:01 +0100 Subject: [PATCH] make store_error const-correct --- lib/remopen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/remopen.c b/lib/remopen.c index dfe0865..b0fc642 100644 --- a/lib/remopen.c +++ b/lib/remopen.c @@ -21,7 +21,7 @@ /* ** store an error message in buff like libinn(3) says NNTPconnect does */ -static void store_error(char *buff, char *string1, char *string2) { +static void store_error(char *buff, const char *string1, const char *string2) { /* we put these in [...] to make it easier to tell them apart * from messages sent by the server */ snprintf(buff, NNTP_STRLEN, "[%s%s]", string1, string2); -- 2.30.2