~ubuntu-branches/ubuntu/saucy/curl/saucy-201307251546

« back to all changes in this revision

Viewing changes to docs/examples/sampleconv.c

  • Committer: Bazaar Package Importer
  • Author(s): Ramakrishnan Muthukrishnan
  • Date: 2010-10-18 11:13:17 UTC
  • mto: (3.6.1 experimental) (1.3.1)
  • mto: This revision was merged to the branch mainline in revision 44.
  • Revision ID: james.westby@ubuntu.com-20101018111317-9rkas34ecwtq0upn
Tags: upstream-7.21.2
ImportĀ upstreamĀ versionĀ 7.21.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
 
76
76
  curl = curl_easy_init();
77
77
  if(curl) {
78
 
    curl_easy_setopt(curl, CURLOPT_URL, "curl.haxx.se");
 
78
    curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
79
79
 
80
80
    /* use platform-specific functions for codeset conversions */
81
81
    curl_easy_setopt(curl, CURLOPT_CONV_FROM_NETWORK_FUNCTION,