use the correct struct
authorDaniel Stenberg <daniel@haxx.se>
Sun, 28 Mar 2004 21:41:10 +0000 (21:41 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 28 Mar 2004 21:41:10 +0000 (21:41 +0000)
docs/examples/postit2.c

index a46f0a71bae98a3dd246e59cf2fad5100d506801..d1ecadd61c3b761382c5e68eaa855d25001bfc4e 100644 (file)
@@ -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:";