mirror of
https://github.com/curl/curl.git
synced 2026-07-24 13:57:16 +03:00
Michal Marek's cleanup of how curl_easy_setopt() is used in examples and
test code. Thanks to his curl_easy_setopt() typechecker work...
This commit is contained in:
parent
6cc8df95dd
commit
b12fef3f31
7 changed files with 16 additions and 16 deletions
|
|
@ -65,7 +65,7 @@ void dump(const char *text,
|
|||
|
||||
static
|
||||
int my_trace(CURL *handle, curl_infotype type,
|
||||
unsigned char *data, size_t size,
|
||||
char *data, size_t size,
|
||||
void *userp)
|
||||
{
|
||||
struct data *config = (struct data *)userp;
|
||||
|
|
@ -98,7 +98,7 @@ int my_trace(CURL *handle, curl_infotype type,
|
|||
break;
|
||||
}
|
||||
|
||||
dump(text, stderr, data, size, config->trace_ascii);
|
||||
dump(text, stderr, (unsigned char *)data, size, config->trace_ascii);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue