mirror of
https://github.com/curl/curl.git
synced 2026-08-25 10:53:37 +03:00
use the proper type for formposts, not the deprecated one
This commit is contained in:
parent
252423a725
commit
e5cd0cc402
3 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue