mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 07:38:49 -05:00
Added 'const' to the string arrays
This commit is contained in:
parent
f35b6e90f5
commit
ab6c8a06e0
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user