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:
parent
436cd490fc
commit
512f8c774a
@ -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);
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user