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) {
|
switch (type) {
|
||||||
case CURLINFO_HEADER_IN:
|
case CURLINFO_HEADER_IN:
|
||||||
w = "Header";
|
w = "Header";
|
||||||
|
/* FALLTHROUGH */
|
||||||
case CURLINFO_DATA_IN:
|
case CURLINFO_DATA_IN:
|
||||||
t = "from";
|
t = "from";
|
||||||
break;
|
break;
|
||||||
case CURLINFO_HEADER_OUT:
|
case CURLINFO_HEADER_OUT:
|
||||||
w = "Header";
|
w = "Header";
|
||||||
|
/* FALLTHROUGH */
|
||||||
case CURLINFO_DATA_OUT:
|
case CURLINFO_DATA_OUT:
|
||||||
t = "to";
|
t = "to";
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user