summaryrefslogtreecommitdiff
path: root/docs/libcurl/opts/CURLOPT_READDATA.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_READDATA.html')
-rw-r--r--docs/libcurl/opts/CURLOPT_READDATA.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/opts/CURLOPT_READDATA.html b/docs/libcurl/opts/CURLOPT_READDATA.html
index 492ad11d..42642c6c 100644
--- a/docs/libcurl/opts/CURLOPT_READDATA.html
+++ b/docs/libcurl/opts/CURLOPT_READDATA.html
@@ -64,11 +64,11 @@ CURL *curl = curl_easy_init();
struct MyData this;
if(curl) {
&nbsp; curl_easy_setopt(curl, CURLOPT_URL, "<a href="http://example.com">http://example.com</a>");
-
+&nbsp;
&nbsp; /* pass pointer that gets passed in to the
&nbsp; CURLOPT_READFUNCTION callback */
&nbsp; curl_easy_setopt(curl, CURLOPT_READDATA, &this);
-
+&nbsp;
&nbsp; curl_easy_perform(curl);
}
</pre>