mirror of
https://github.com/curl/curl.git
synced 2026-07-29 05:03:06 +03:00
Fixed some compile warnings and errors and improved portability in the
examples. Removed ftp3rdparty.c since libcurl doesn't support 3rd party FTP transfers any longer.
This commit is contained in:
parent
4a728747e6
commit
49ce3e5160
24 changed files with 78 additions and 169 deletions
|
|
@ -9,6 +9,7 @@
|
|||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <curl/curl.h>
|
||||
|
||||
int main(void)
|
||||
|
|
@ -16,7 +17,7 @@ int main(void)
|
|||
CURL *curl;
|
||||
CURLcode res;
|
||||
|
||||
char *postthis="moo mooo moo moo";
|
||||
static const char *postthis="moo mooo moo moo";
|
||||
|
||||
curl = curl_easy_init();
|
||||
if(curl) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue