aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/htmltidy.c
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-05-22 21:20:07 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-05-22 21:20:07 +0000
commite664cd5826d43930fcc5b5dbaedbec94af33184b (patch)
tree7cca8fe1a4d1649d4d40ed7dcd4fc64486dedf00 /docs/examples/htmltidy.c
parentb8abeab6d3729ce4c9cc3eccb69e2bd3be2b58d3 (diff)
Fixed a surprising number of example programs that were passing int arguments
to curl_easy_setopt instead of long.
Diffstat (limited to 'docs/examples/htmltidy.c')
-rw-r--r--docs/examples/htmltidy.c4
1 files changed, 2 insertions, 2 deletions
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();