mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
http_perhapsrewind:
make it static, remove Curl_ prefix
This commit is contained in:
parent
51075a6777
commit
574aecee20
@ -338,7 +338,7 @@ static bool pickoneauth(struct auth *pick)
|
|||||||
* }
|
* }
|
||||||
* }
|
* }
|
||||||
*/
|
*/
|
||||||
CURLcode Curl_http_perhapsrewind(struct connectdata *conn)
|
static CURLcode http_perhapsrewind(struct connectdata *conn)
|
||||||
{
|
{
|
||||||
struct SessionHandle *data = conn->data;
|
struct SessionHandle *data = conn->data;
|
||||||
struct HTTP *http = data->state.proto.http;
|
struct HTTP *http = data->state.proto.http;
|
||||||
@ -475,7 +475,7 @@ CURLcode Curl_http_auth_act(struct connectdata *conn)
|
|||||||
if((data->set.httpreq != HTTPREQ_GET) &&
|
if((data->set.httpreq != HTTPREQ_GET) &&
|
||||||
(data->set.httpreq != HTTPREQ_HEAD) &&
|
(data->set.httpreq != HTTPREQ_HEAD) &&
|
||||||
!conn->bits.rewindaftersend) {
|
!conn->bits.rewindaftersend) {
|
||||||
code = Curl_http_perhapsrewind(conn);
|
code = http_perhapsrewind(conn);
|
||||||
if(code)
|
if(code)
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
@ -3307,7 +3307,7 @@ CURLcode Curl_http_readwrite_headers(struct SessionHandle *data,
|
|||||||
|
|
||||||
/* some cases of POST and PUT etc needs to rewind the data
|
/* some cases of POST and PUT etc needs to rewind the data
|
||||||
stream at this point */
|
stream at this point */
|
||||||
result = Curl_http_perhapsrewind(conn);
|
result = http_perhapsrewind(conn);
|
||||||
if(result)
|
if(result)
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user