aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-06-18 06:20:43 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-06-18 06:20:43 +0000
commitbd3d5a17b49dfdb9029376961f429a21dd045af4 (patch)
tree30328541870aafd03e3533ba52c8005af883dc5c /src/main.c
parentd4b577114bcc1c0ddde3174a82177188d76c4b71 (diff)
Gisle's "SSL patch" from June 16th 2004, modified by me as discussed on the
mailing list.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c7
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);