mirror of
https://github.com/curl/curl.git
synced 2026-08-24 17:33:33 +03:00
protocols: use CURLPROTO_ internally
The PROT_* set of internal defines for the protocols is no longer used. We now use the same bits internally as we have defined in the public header using the CURLPROTO_ prefix. This is for simplicity and because the PROT_* prefix was already used duplicated internally for a set of KRB4 values. The PROTOPT_* defines were moved up to just below the struct definition within which they are used.
This commit is contained in:
parent
8831000bc0
commit
13b64d7558
18 changed files with 94 additions and 120 deletions
|
|
@ -441,7 +441,7 @@ CURLcode Curl_client_write(struct connectdata *conn,
|
|||
}
|
||||
|
||||
if(type & CLIENTWRITE_BODY) {
|
||||
if((conn->handler->protocol&PROT_FTP) &&
|
||||
if((conn->handler->protocol&CURLPROTO_FTP) &&
|
||||
conn->proto.ftpc.transfertype == 'A') {
|
||||
#ifdef CURL_DOES_CONVERSIONS
|
||||
/* convert from the network encoding */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue