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