diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-05-05 15:18:31 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-05-05 15:18:31 +0200 |
commit | 574aecee208f79d391f10d57520b3eb2fcf091e6 (patch) | |
tree | 4188d1696e10839194b3687dc5dc309ec3d2f35a /lib | |
parent | 51075a6777576a0676a77a49c250a8aba7ea3097 (diff) |
http_perhapsrewind:
make it static, remove Curl_ prefix
Diffstat (limited to 'lib')
-rw-r--r-- | lib/http.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/http.c b/lib/http.c index 2e1649134..b05412c96 100644 --- a/lib/http.c +++ b/lib/http.c @@ -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; } |