From 49ce3e5160a9576e797bf87cef012b09d1c54ecb Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 12 Jul 2007 21:11:10 +0000 Subject: 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. --- docs/examples/postit2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/examples/postit2.c') diff --git a/docs/examples/postit2.c b/docs/examples/postit2.c index e022d284f..0660cc5b5 100644 --- a/docs/examples/postit2.c +++ b/docs/examples/postit2.c @@ -36,7 +36,7 @@ int main(int argc, char *argv[]) struct curl_httppost *formpost=NULL; struct curl_httppost *lastptr=NULL; struct curl_slist *headerlist=NULL; - char buf[] = "Expect:"; + static const char buf[] = "Expect:"; curl_global_init(CURL_GLOBAL_ALL); -- cgit v1.2.3