From: Ian Jackson Date: Thu, 29 Apr 2010 00:45:01 +0000 (+0100) Subject: make store_error const-correct X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=inn-innduct.git;a=commitdiff_plain;h=3495ad1369c1dc484a4f1ee4604e4afab38d2bea make store_error const-correct --- 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);