diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index 9551cfe26..c759fcc63 100644 --- a/src/main.c +++ b/src/main.c @@ -2572,7 +2572,6 @@ int my_trace(CURL *handle, curl_infotype type, struct Configurable *config = (struct Configurable *)userp; FILE *output=config->errors; const char *text; - (void)handle; /* prevent compiler warning */ if(!config->trace_stream) { @@ -2606,6 +2605,12 @@ int my_trace(CURL *handle, curl_infotype type, case CURLINFO_DATA_IN: text = "<= Recv data"; break; + case CURLINFO_SSL_DATA_IN: + text = "<= Recv SSL data"; + break; + case CURLINFO_SSL_DATA_OUT: + text = "<= Send SSL data"; + break; } dump(text, output, data, size, config->trace_ascii); |