summaryrefslogtreecommitdiff
path: root/lib/arpa_telnet.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-08-14 08:16:53 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-08-14 08:16:53 +0000
commitab6c8a06e046b172a24da81a45f3331af4a27a93 (patch)
tree429f74def7b95866e286d595564d1aa50256052e /lib/arpa_telnet.h
parentf35b6e90f55dd072af42eaa0f003be04328fe1d9 (diff)
downloadcurl-ab6c8a06e046b172a24da81a45f3331af4a27a93.tar.gz
Added 'const' to the string arrays
Diffstat (limited to 'lib/arpa_telnet.h')
-rw-r--r--lib/arpa_telnet.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/arpa_telnet.h b/lib/arpa_telnet.h
index 1f1890fb7..201b7bbc4 100644
--- a/lib/arpa_telnet.h
+++ b/lib/arpa_telnet.h
@@ -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",