/* \summary: USB printer */
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif
#include "netdissect-stdinc.h"
case URB_BULK:
case URB_CONTROL:
case URB_ISOCHRONOUS:
- switch(event_type)
- {
+ switch(event_type) {
case URB_SUBMIT:
direction = 2;
break;
}
break;
case URB_INTERRUPT:
- switch(event_type)
- {
+ switch(event_type) {
case URB_SUBMIT:
direction = 1;
break;
ND_PRINT(" ");
transfer_type = GET_U_1(uh->transfer_type);
- switch(transfer_type)
- {
+ switch(transfer_type) {
case URB_ISOCHRONOUS:
ND_PRINT("ISOCHRONOUS");
break;
}
event_type = GET_U_1(uh->event_type);
- switch(event_type)
- {
+ switch(event_type) {
case URB_SUBMIT:
ND_PRINT(" SUBMIT");
break;