mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
Curl_debug: document switch fallthroughs
This commit is contained in:
parent
b0bfae1963
commit
3aa899929d
@ -661,11 +661,13 @@ int Curl_debug(struct SessionHandle *data, curl_infotype type,
|
||||
switch (type) {
|
||||
case CURLINFO_HEADER_IN:
|
||||
w = "Header";
|
||||
/* FALLTHROUGH */
|
||||
case CURLINFO_DATA_IN:
|
||||
t = "from";
|
||||
break;
|
||||
case CURLINFO_HEADER_OUT:
|
||||
w = "Header";
|
||||
/* FALLTHROUGH */
|
||||
case CURLINFO_DATA_OUT:
|
||||
t = "to";
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user