1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

Added 'const' to the string arrays

This commit is contained in:
Daniel Stenberg 2001-08-14 08:16:53 +00:00
parent f35b6e90f5
commit ab6c8a06e0

View File

@ -39,7 +39,7 @@
/*
* The telnet options represented as strings
*/
static char *telnetoptions[]=
static const char *telnetoptions[]=
{
"BINARY", "ECHO", "RCP", "SUPPRESS GO AHEAD",
"NAME", "STATUS" "TIMING MARK", "RCTE",
@ -78,7 +78,7 @@ static char *telnetoptions[]=
/*
* Then those numbers represented as strings:
*/
static char *telnetcmds[]=
static const char *telnetcmds[]=
{
"EOF", "SUSP", "ABORT", "EOR", "SE",
"NOP", "DMARK", "BRK", "IP", "AO",