From cc56055f1feef3d9a354e14f7642f8e90c0cc341 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Mon, 21 Feb 2022 17:18:35 +0100 Subject: [PATCH] [nntp] const protocol --- src/protocol/nntp/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocol/nntp/connection.c b/src/protocol/nntp/connection.c index bc3fb12e2..66af676fa 100644 --- a/src/protocol/nntp/connection.c +++ b/src/protocol/nntp/connection.c @@ -583,7 +583,7 @@ nntp_protocol_handler(struct connection *conn) void news_protocol_handler(struct connection *conn) { - char *protocol; + const char *protocol; char *server = get_nntp_server(); struct string location;