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

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