mirror of
https://github.com/curl/curl.git
synced 2026-07-25 02:47:17 +03:00
Curl_FormFree renamed to Curl_formclean, as it turns out VMS for example
requires all global symbols to be *case insentively* unique! curl_formfree is a global function we shouldn't touch.
This commit is contained in:
parent
7950a95401
commit
2cf45f68b0
3 changed files with 8 additions and 6 deletions
|
|
@ -364,7 +364,7 @@ CURLcode Curl_http_done(struct connectdata *conn)
|
|||
if(HTTPREQ_POST_FORM == data->httpreq) {
|
||||
*bytecount = http->readbytecount + http->writebytecount;
|
||||
|
||||
Curl_FormFree(http->sendit); /* Now free that whole lot */
|
||||
Curl_formclean(http->sendit); /* Now free that whole lot */
|
||||
|
||||
data->fread = http->storefread; /* restore */
|
||||
data->in = http->in; /* restore */
|
||||
|
|
@ -731,7 +731,7 @@ CURLcode Curl_http(struct connectdata *conn)
|
|||
conn->firstsocket,
|
||||
&http->writebytecount);
|
||||
if(result) {
|
||||
Curl_FormFree(http->sendit); /* free that whole lot */
|
||||
Curl_formclean(http->sendit); /* free that whole lot */
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue