diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-06-18 06:20:43 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-06-18 06:20:43 +0000 |
commit | bd3d5a17b49dfdb9029376961f429a21dd045af4 (patch) | |
tree | 30328541870aafd03e3533ba52c8005af883dc5c /src | |
parent | d4b577114bcc1c0ddde3174a82177188d76c4b71 (diff) |
Gisle's "SSL patch" from June 16th 2004, modified by me as discussed on the
mailing list.
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); |