mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:31:41 +03:00
Added 'const' to the string arrays
This commit is contained in:
parent
f35b6e90f5
commit
ab6c8a06e0
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue