[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnurl] 19/29: CURLOPT_READFUNCTION.3: fix variable name in example
From: |
gnunet |
Subject: |
[gnurl] 19/29: CURLOPT_READFUNCTION.3: fix variable name in example |
Date: |
Fri, 10 Jan 2020 23:05:57 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit e9dd17b754f0f1c3a695af0ddf4d2ba95e4dc69d
Author: Jay Satiro <address@hidden>
AuthorDate: Mon Jan 6 03:01:33 2020 -0500
CURLOPT_READFUNCTION.3: fix variable name in example
Reported-by: Paul Joyce
Fixes https://github.com/curl/curl/issues/4787
---
docs/libcurl/opts/CURLOPT_READFUNCTION.3 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/libcurl/opts/CURLOPT_READFUNCTION.3
b/docs/libcurl/opts/CURLOPT_READFUNCTION.3
index 30b0925eb..ceb1c13f9 100644
--- a/docs/libcurl/opts/CURLOPT_READFUNCTION.3
+++ b/docs/libcurl/opts/CURLOPT_READFUNCTION.3
@@ -95,7 +95,7 @@ void setup(char *uploadthis)
curl_easy_setopt(curl, CURLOPT_READFUNCTION, read_callback);
/* pass in suitable argument to callback */
- curl_easy_setopt(curl, CURLOPT_READDATA, uploadthis);
+ curl_easy_setopt(curl, CURLOPT_READDATA, (void *)file);
result = curl_easy_perform(curl);
}
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [gnurl] 05/29: lib: fix warnings found when porting to NuttX, (continued)
- [gnurl] 05/29: lib: fix warnings found when porting to NuttX, gnunet, 2020/01/10
- [gnurl] 06/29: lib: remove erroneous +x file permission on some c files, gnunet, 2020/01/10
- [gnurl] 09/29: bearssl: Improve I/O handling, gnunet, 2020/01/10
- [gnurl] 10/29: tests: Change NTLM tests to require SSL, gnunet, 2020/01/10
- [gnurl] 08/29: travis: Fix error detection, gnunet, 2020/01/10
- [gnurl] 11/29: tool: make a few char pointers point to const char instead, gnunet, 2020/01/10
- [gnurl] 23/29: file: fix copyright year range, gnunet, 2020/01/10
- [gnurl] 12/29: tests: Fix bounce requests with truncated writes, gnunet, 2020/01/10
- [gnurl] 21/29: file: on Windows, refuse paths that start with \\, gnunet, 2020/01/10
- [gnurl] 20/29: CURLOPT_READFUNCTION.3: fix fopen params in example, gnunet, 2020/01/10
- [gnurl] 19/29: CURLOPT_READFUNCTION.3: fix variable name in example,
gnunet <=
- [gnurl] 13/29: COPYING: it's 2020!, gnunet, 2020/01/10
- [gnurl] 24/29: multi.h: move INITIAL_MAX_CONCURRENT_STREAMS from public header, gnunet, 2020/01/10
- [gnurl] 17/29: docs: mention CURL_MAX_INPUT_LENGTH restrictions, gnunet, 2020/01/10
- [gnurl] 26/29: RELEASE-PROCEDURE: add four future release dates, gnunet, 2020/01/10
- [gnurl] 14/29: lib: fix compiler warnings with `CURL_DISABLE_VERBOSE_STRINGS`, gnunet, 2020/01/10
- [gnurl] 22/29: curl -w: handle a blank input file correctly, gnunet, 2020/01/10
- [gnurl] 18/29: curl:getparameter return error for --http3 if libcurl doesn't support, gnunet, 2020/01/10
- [gnurl] 25/29: TrackMemory tests: always remove CR before LF, gnunet, 2020/01/10
- [gnurl] 15/29: curl: cleanup multi handle on failure, gnunet, 2020/01/10
- [gnurl] 16/29: curl: properly free mimepost data, gnunet, 2020/01/10