aboutsummaryrefslogtreecommitdiff
path: root/lib/arpa_telnet.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-10-16 23:35:44 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-10-18 14:51:49 +0200
commitad547fcf7b3c0191f63396b94c797bfbb4147f62 (patch)
tree539d2f4855a9f9b9d46d8a43a98450faa16bf8bf /lib/arpa_telnet.h
parent6b6ba1dc29857f5eb4c31fed3d63619fea99d5f4 (diff)
travis: add build for "configure --disable-verbose"
Closes #3144
Diffstat (limited to 'lib/arpa_telnet.h')
-rw-r--r--lib/arpa_telnet.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/arpa_telnet.h b/lib/arpa_telnet.h
index ec238729d..232680e7d 100644
--- a/lib/arpa_telnet.h
+++ b/lib/arpa_telnet.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -37,6 +37,7 @@
#define CURL_NEW_ENV_VAR 0
#define CURL_NEW_ENV_VALUE 1
+#ifndef CURL_DISABLE_VERBOSE_STRINGS
/*
* The telnet options represented as strings
*/
@@ -53,6 +54,7 @@ static const char * const telnetoptions[]=
"TERM SPEED", "LFLOW", "LINEMODE", "XDISPLOC",
"OLD-ENVIRON", "AUTHENTICATION", "ENCRYPT", "NEW-ENVIRON"
};
+#endif
#define CURL_TELOPT_MAXIMUM CURL_TELOPT_NEW_ENVIRON
@@ -76,6 +78,7 @@ static const char * const telnetoptions[]=
#define CURL_DONT 254 /* DON'T use this option! */
#define CURL_IAC 255 /* Interpret As Command */
+#ifndef CURL_DISABLE_VERBOSE_STRINGS
/*
* Then those numbers represented as strings:
*/
@@ -86,6 +89,7 @@ static const char * const telnetcmds[]=
"AYT", "EC", "EL", "GA", "SB",
"WILL", "WONT", "DO", "DONT", "IAC"
};
+#endif
#define CURL_TELCMD_MINIMUM CURL_xEOF /* the first one */
#define CURL_TELCMD_MAXIMUM CURL_IAC /* surprise, 255 is the last one! ;-) */