forked from osmocom/wireshark
Add #include <ctype.h> before #include "isprint.h";
Remove an unneeded line of code; Do some indentation & whitespace cleanup. svn path=/trunk/; revision=36785
This commit is contained in:
parent
4ee4fc1d53
commit
513a5f5154
|
@ -29,7 +29,9 @@
|
|||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <isprint.h>
|
||||
#include <ctype.h>
|
||||
#include "isprint.h"
|
||||
|
||||
#include <glib.h>
|
||||
#include <epan/packet.h>
|
||||
#include <epan/etypes.h>
|
||||
|
@ -1301,7 +1303,6 @@ dissect_usb_configuration_descriptor(packet_info *pinfo _U_, proto_tree *parent_
|
|||
proto_tree_add_item(flags_tree, hf_usb_configuration_legacy10buspowered, tvb, offset, 1, TRUE);
|
||||
proto_tree_add_item(flags_tree, hf_usb_configuration_selfpowered, tvb, offset, 1, TRUE);
|
||||
proto_item_append_text(flags_item, " %sSELF-POWERED", (flags&0x40)?"":"NOT ");
|
||||
flags&=~0x40;
|
||||
proto_tree_add_item(flags_tree, hf_usb_configuration_remotewakeup, tvb, offset, 1, TRUE);
|
||||
proto_item_append_text(flags_item, " %sREMOTE-WAKEUP", (flags&0x20)?"":"NO ");
|
||||
offset++;
|
||||
|
|
Loading…
Reference in New Issue