Curl_debug: document switch fallthroughs

This commit is contained in:
Daniel Stenberg 2014-10-03 23:49:39 +02:00
parent b0bfae1963
commit 3aa899929d

View File

@ -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;