Protocol string is set has const char in fko_protocol_t.

This commit is contained in:
Franck Joncourt
2013-05-01 14:33:35 +02:00
parent d93648cf99
commit 209c0f16da
+2 -2
View File
@@ -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[] =