X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=lib%2Fremopen.c;fp=lib%2Fremopen.c;h=b0fc64252ef96b0b0fed737aae603e2337579cf5;hb=3495ad1369c1dc484a4f1ee4604e4afab38d2bea;hp=dfe08654dec98661287e1aaded6cc31cbf618f35;hpb=6a7307f47a05fbef08b3f7a362ccfc742cebea50;p=innduct.git 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);