aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/examples/postit2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/postit2.c b/docs/examples/postit2.c
index a46f0a71b..d1ecadd61 100644
--- a/docs/examples/postit2.c
+++ b/docs/examples/postit2.c
@@ -33,8 +33,8 @@ int main(int argc, char *argv[])
CURL *curl;
CURLcode res;
- struct HttpPost *formpost=NULL;
- struct HttpPost *lastptr=NULL;
+ struct curl_httppost *formpost=NULL;
+ struct curl_httppost *lastptr=NULL;
struct curl_slist *headerlist=NULL;
char buf[] = "Expect:";