mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Handle CURLE_LOGIN_DENIED in strerror.c.
For ftp only?
This commit is contained in:
parent
16ae0c6466
commit
64dd9c7656
@ -2216,7 +2216,7 @@ static CURLcode ftp_state_user_resp(struct connectdata *conn,
|
||||
state(conn, FTP_ACCT);
|
||||
}
|
||||
else {
|
||||
failf(data, "ACCT requested by none available");
|
||||
failf(data, "ACCT requested but none available");
|
||||
result = CURLE_LOGIN_DENIED;
|
||||
}
|
||||
}
|
||||
|
@ -236,6 +236,9 @@ curl_easy_strerror(CURLcode error)
|
||||
case CURLE_SEND_FAIL_REWIND:
|
||||
return "Send failed since rewinding of the data stream failed";
|
||||
|
||||
case CURLE_LOGIN_DENIED:
|
||||
return "FTP: login denied";;
|
||||
|
||||
case CURLE_URL_MALFORMAT_USER: /* not used by current libcurl */
|
||||
case CURLE_MALFORMAT_USER: /* not used by current libcurl */
|
||||
case CURLE_BAD_CALLING_ORDER: /* not used by current libcurl */
|
||||
|
Loading…
Reference in New Issue
Block a user