use the proper type for formposts, not the deprecated one

This commit is contained in:
Daniel Stenberg 2004-01-22 11:54:00 +00:00
parent 252423a725
commit e5cd0cc402
3 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ int Curl_FormInit(struct Form *form, struct FormData *formdata );
CURLcode
Curl_getFormData(struct FormData **,
struct HttpPost *post,
struct curl_httppost *post,
int *size);
/* fread() emulation */

View File

@ -682,7 +682,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, ...)
/*
* Set to make us do HTTP POST
*/
data->set.httppost = va_arg(param, struct HttpPost *);
data->set.httppost = va_arg(param, struct curl_httppost *);
if(data->set.httppost)
data->set.httpreq = HTTPREQ_POST_FORM;
break;

View File

@ -791,7 +791,7 @@ struct UserDefined {
off_t set_resume_from; /* continue [ftp] transfer from here */
char *cookie; /* HTTP cookie string to send */
struct curl_slist *headers; /* linked list of extra headers */
struct HttpPost *httppost; /* linked list of POST data */
struct curl_httppost *httppost; /* linked list of POST data */
char *cert; /* certificate */
char *cert_type; /* format for certificate (default: PEM) */
char *key; /* private key */