1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 08:38:49 -05:00

http_perhapsrewind:

make it static, remove Curl_ prefix
This commit is contained in:
Daniel Stenberg 2011-05-05 15:18:31 +02:00
parent 51075a6777
commit 574aecee20

View File

@ -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 HTTP *http = data->state.proto.http;
@ -475,7 +475,7 @@ CURLcode Curl_http_auth_act(struct connectdata *conn)
if((data->set.httpreq != HTTPREQ_GET) &&
(data->set.httpreq != HTTPREQ_HEAD) &&
!conn->bits.rewindaftersend) {
code = Curl_http_perhapsrewind(conn);
code = http_perhapsrewind(conn);
if(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
stream at this point */
result = Curl_http_perhapsrewind(conn);
result = http_perhapsrewind(conn);
if(result)
return result;
}