summaryrefslogtreecommitdiff
path: root/lib/arpa_telnet.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-06-11 11:13:01 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-06-11 11:13:01 +0000
commit08ef208fb78fb2eabc5cec08c23e74e251eac898 (patch)
treec52fa36be6197717f9ab12031a623091d785b51c /lib/arpa_telnet.h
parent8c45e2a6415a3a12231b88cd2791141ec809d163 (diff)
downloadcurl-08ef208fb78fb2eabc5cec08c23e74e251eac898.tar.gz
added disable-[protocol] support, largely provided by Miklos Nemeth
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 063bc6fc1..caf6c7f03 100644
--- a/lib/arpa_telnet.h
+++ b/lib/arpa_telnet.h
@@ -22,7 +22,7 @@
*
* $Id$
*****************************************************************************/
-
+#ifndef CURL_DISABLE_TELNET
/*
* Telnet option defines. Add more here if in need.
*/
@@ -97,5 +97,5 @@ static const char *telnetcmds[]=
#define TELCMD_OK(x) ( ((unsigned int)(x) >= TELCMD_MINIMUM) && \
((unsigned int)(x) <= TELCMD_MAXIMUM) )
#define TELCMD(x) telnetcmds[(x)-TELCMD_MINIMUM]
-
+#endif
#endif