X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=docs%2Fexamples%2Fhref_extractor.c;h=c11325d2e90a163de8a2cad5984a984a2f73e883;hb=ff9f0eb35d80c251e9a54162eae18f44349ae59d;hp=4b307a29e40dce87aaf4823d6bc5f575b5288155;hpb=d69d98bb1e0435e6d0a6358677725bd663f598c0;p=platform%2Fupstream%2Fcurl.git diff --git a/docs/examples/href_extractor.c b/docs/examples/href_extractor.c index 4b307a2..c11325d 100644 --- a/docs/examples/href_extractor.c +++ b/docs/examples/href_extractor.c @@ -74,7 +74,7 @@ int main(int argc, char *argv[]) curl_easy_setopt(curl, CURLOPT_URL, argv[1]); curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_callback); curl_easy_setopt(curl, CURLOPT_WRITEDATA, hsp); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); + curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L); curl_easy_perform(curl);