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:
Daniel Stenberg
2001-08-06 12:36:18 +00:00
parent 7950a95401
commit 2cf45f68b0
3 changed files with 8 additions and 6 deletions

View File

@@ -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;
}
}