summaryrefslogtreecommitdiff
path: root/docs/libcurl/opts/CURLOPT_REFERER.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_REFERER.html')
-rw-r--r--docs/libcurl/opts/CURLOPT_REFERER.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/opts/CURLOPT_REFERER.html b/docs/libcurl/opts/CURLOPT_REFERER.html
index f2481b6e..733a8c84 100644
--- a/docs/libcurl/opts/CURLOPT_REFERER.html
+++ b/docs/libcurl/opts/CURLOPT_REFERER.html
@@ -61,10 +61,10 @@ p.roffit {
CURL *curl = curl_easy_init();
if(curl) {
&nbsp; curl_easy_setopt(curl, CURLOPT_URL, "<a href="http://example.com">http://example.com</a>");
-
+&nbsp;
&nbsp; /* tell it where we found the link to this place */
&nbsp; curl_easy_setopt(curl, CURLOPT_REFERER, "<a href="http://example.com/aboutme.html">http://example.com/aboutme.html</a>");
-
+&nbsp;
&nbsp; curl_easy_perform(curl);
}
</pre>