diff options
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_READDATA.html')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_READDATA.html | 4 |
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) { curl_easy_setopt(curl, CURLOPT_URL, "<a href="http://example.com">http://example.com</a>"); - + /* pass pointer that gets passed in to the CURLOPT_READFUNCTION callback */ curl_easy_setopt(curl, CURLOPT_READDATA, &this); - + curl_easy_perform(curl); } </pre> |