diff options
author | Dwarakanath Yadavalli <ydnath@users.noreply.github.com> | 2017-07-31 11:22:04 +0530 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2017-07-31 02:59:05 -0400 |
commit | 512f8c774a8ae541d2e4fbccdd94e4bb0d39e90c (patch) | |
tree | e7cb2a7af14fbf00cbb47e2fe2a074a40579afea /lib/telnet.c | |
parent | 436cd490fcba08508580871ac1aebe4be29543f8 (diff) | |
download | curl-512f8c774a8ae541d2e4fbccdd94e4bb0d39e90c.tar.gz |
libcurl: Stop using error codes defined under CURL_NO_OLDIES
Fixes https://github.com/curl/curl/issues/1688
Closes https://github.com/curl/curl/pull/1712
Diffstat (limited to 'lib/telnet.c')
-rw-r--r-- | lib/telnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/telnet.c b/lib/telnet.c index 100f29099..3dec95907 100644 --- a/lib/telnet.c +++ b/lib/telnet.c @@ -899,7 +899,7 @@ static CURLcode check_telnet_options(struct connectdata *conn) } failf(data, "Unknown telnet option %s", head->data); - result = CURLE_UNKNOWN_TELNET_OPTION; + result = CURLE_UNKNOWN_OPTION; break; } failf(data, "Syntax error in telnet option: %s", head->data); |