aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/examples/debug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/examples/debug.c b/docs/examples/debug.c
index 153f3839e..1443ae55d 100644
--- a/docs/examples/debug.c
+++ b/docs/examples/debug.c
@@ -84,6 +84,9 @@ int my_trace(CURL *handle, curl_infotype type,
case CURLINFO_DATA_OUT:
text = "=> Send data";
break;
+ case CURLINFO_SSL_DATA_OUT:
+ text = "=> Send SSL data";
+ break;
case CURLINFO_HEADER_IN:
text = "<= Recv header";
break;
@@ -93,9 +96,6 @@ int my_trace(CURL *handle, curl_infotype type,
case CURLINFO_SSL_DATA_IN:
text = "<= Recv SSL data";
break;
- case CURLINFO_SSL_DATA_OUT:
- text = "<= Send SSL data";
- break;
}
dump(text, stderr, data, size, config->trace_ascii);