From 209c0f16da9ca6bd677fc2378bafb2bd52c5d738 Mon Sep 17 00:00:00 2001 From: Franck Joncourt Date: Wed, 1 May 2013 14:33:35 +0200 Subject: [PATCH] Protocol string is set has const char in fko_protocol_t. --- client/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/utils.c b/client/utils.c index d003df96..af5530bd 100644 --- a/client/utils.c +++ b/client/utils.c @@ -40,8 +40,8 @@ static void *get_in_addr(struct sockaddr *sa); */ typedef struct fko_protocol { - char str[PROTOCOL_BUFSIZE]; /*!< String which represents a protocol value for the FKO library */ - int val; /*!< Value of the protocol according to the FKO library */ + const char str[PROTOCOL_BUFSIZE]; /*!< String which represents a protocol value for the FKO library */ + int val; /*!< Value of the protocol according to the FKO library */ } fko_protocol_t; static fko_protocol_t fko_protocol_array[] =