From e664cd5826d43930fcc5b5dbaedbec94af33184b Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 22 May 2008 21:20:07 +0000 Subject: Fixed a surprising number of example programs that were passing int arguments to curl_easy_setopt instead of long. --- docs/examples/htmltidy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/examples/htmltidy.c') diff --git a/docs/examples/htmltidy.c b/docs/examples/htmltidy.c index 112a4e6b6..cd75401a9 100644 --- a/docs/examples/htmltidy.c +++ b/docs/examples/htmltidy.c @@ -75,8 +75,8 @@ int main(int argc, char **argv ) curl = curl_easy_init(); curl_easy_setopt(curl, CURLOPT_URL, argv[1]); curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, curl_errbuf); - curl_easy_setopt(curl, CURLOPT_NOPROGRESS, no); - curl_easy_setopt(curl, CURLOPT_VERBOSE, yes); + curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 0L); + curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_cb); tdoc = tidyCreate(); -- cgit v1.2.3