1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

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
This commit is contained in:
Dwarakanath Yadavalli 2017-07-31 11:22:04 +05:30 committed by Jay Satiro
parent 436cd490fc
commit 512f8c774a
2 changed files with 2 additions and 2 deletions

View File

@ -899,7 +899,7 @@ static CURLcode check_telnet_options(struct connectdata *conn)
} }
failf(data, "Unknown telnet option %s", head->data); failf(data, "Unknown telnet option %s", head->data);
result = CURLE_UNKNOWN_TELNET_OPTION; result = CURLE_UNKNOWN_OPTION;
break; break;
} }
failf(data, "Syntax error in telnet option: %s", head->data); failf(data, "Syntax error in telnet option: %s", head->data);

View File

@ -1345,7 +1345,7 @@ static CURLcode tftp_do(struct connectdata *conn, bool *done)
state = (tftp_state_data_t *)conn->proto.tftpc; state = (tftp_state_data_t *)conn->proto.tftpc;
if(!state) if(!state)
return CURLE_BAD_CALLING_ORDER; return CURLE_TFTP_ILLEGAL;
result = tftp_perform(conn, done); result = tftp_perform(conn, done);