From ab6c8a06e046b172a24da81a45f3331af4a27a93 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 14 Aug 2001 08:16:53 +0000 Subject: [PATCH] Added 'const' to the string arrays --- lib/arpa_telnet.h | 4 ++-- 1 file 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",