aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-01-22 11:54:00 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-01-22 11:54:00 +0000
commite5cd0cc402c32e98a5180e66d6635da87bc55262 (patch)
tree33af010872d0bc0850731119881f8c33a7f6066e
parent252423a725c4b00bd0670e12f9a968bf57c68bad (diff)
use the proper type for formposts, not the deprecated one
-rw-r--r--lib/formdata.h2
-rw-r--r--lib/url.c2
-rw-r--r--lib/urldata.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/formdata.h b/lib/formdata.h
index 38aef434c..4da6bc6ae 100644
--- a/lib/formdata.h
+++ b/lib/formdata.h
@@ -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 */
diff --git a/lib/url.c b/lib/url.c
index 4b71e070f..8533297a4 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -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;
diff --git a/lib/urldata.h b/lib/urldata.h
index 7403bd731..aa00c7210 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -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 */