Commit ab6c8a06 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Added 'const' to the string arrays

parent f35b6e90
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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",