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

« back to all changes in this revision

Viewing changes to docs/examples/debug.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:
118
118
    /* the DEBUGFUNCTION has no effect until we enable VERBOSE */
119
119
    curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
120
120
 
121
 
    curl_easy_setopt(curl, CURLOPT_URL, "curl.haxx.se");
 
121
    curl_easy_setopt(curl, CURLOPT_URL, "http://example.com/");
122
122
    res = curl_easy_perform(curl);
123
123
 
124
124
    /* always cleanup */