aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-acap.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2010-05-10 15:54:57 +0000
committerBill Meier <wmeier@newsguy.com>2010-05-10 15:54:57 +0000
commit10ffd14b8f9c052a9d44faaba462ff36f5542f7a (patch)
treea705161815ce4b6ab546dbeb6743658d6d50cfe0 /epan/dissectors/packet-acap.c
parent33dc9a3eb4a71ef14038f611b5d9f0bcad5d5e1a (diff)
Indentation & whitespace cleanup (including: "4 space tabs" ==> spaces)
svn path=/trunk/; revision=32735
Diffstat (limited to 'epan/dissectors/packet-acap.c')
-rw-r--r--epan/dissectors/packet-acap.c52
1 files changed, 26 insertions, 26 deletions
diff --git a/epan/dissectors/packet-acap.c b/epan/dissectors/packet-acap.c
index f4b659a3f3..269b7352ab 100644
--- a/epan/dissectors/packet-acap.c
+++ b/epan/dissectors/packet-acap.c
@@ -46,9 +46,9 @@ static gint ett_acap_reqresp = -1;
static void
dissect_acap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
- gboolean is_request;
- proto_tree *acap_tree, *reqresp_tree;
- proto_item *ti, *hidden_item;
+ gboolean is_request;
+ proto_tree *acap_tree, *reqresp_tree;
+ proto_item *ti, *hidden_item;
gint offset = 0;
const guchar *line;
gint next_offset;
@@ -159,33 +159,33 @@ dissect_acap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
void
proto_register_acap(void)
{
- static hf_register_info hf[] = {
- { &hf_acap_response,
- { "Response", "acap.response",
- FT_BOOLEAN, BASE_NONE, NULL, 0x0,
- "TRUE if ACAP response", HFILL }},
-
- { &hf_acap_request,
- { "Request", "acap.request",
- FT_BOOLEAN, BASE_NONE, NULL, 0x0,
- "TRUE if ACAP request", HFILL }}
- };
- static gint *ett[] = {
- &ett_acap,
- &ett_acap_reqresp,
- };
-
- proto_acap = proto_register_protocol("Application Configuration Access Protocol",
- "ACAP", "acap");
- proto_register_field_array(proto_acap, hf, array_length(hf));
- proto_register_subtree_array(ett, array_length(ett));
+ static hf_register_info hf[] = {
+ { &hf_acap_response,
+ { "Response", "acap.response",
+ FT_BOOLEAN, BASE_NONE, NULL, 0x0,
+ "TRUE if ACAP response", HFILL }},
+
+ { &hf_acap_request,
+ { "Request", "acap.request",
+ FT_BOOLEAN, BASE_NONE, NULL, 0x0,
+ "TRUE if ACAP request", HFILL }}
+ };
+ static gint *ett[] = {
+ &ett_acap,
+ &ett_acap_reqresp,
+ };
+
+ proto_acap = proto_register_protocol("Application Configuration Access Protocol",
+ "ACAP", "acap");
+ proto_register_field_array(proto_acap, hf, array_length(hf));
+ proto_register_subtree_array(ett, array_length(ett));
}
void
proto_reg_handoff_acap(void)
{
- dissector_handle_t acap_handle;
+ dissector_handle_t acap_handle;
- acap_handle = create_dissector_handle(dissect_acap, proto_acap);
- dissector_add("tcp.port", TCP_PORT_ACAP, acap_handle);
+ acap_handle = create_dissector_handle(dissect_acap, proto_acap);
+ dissector_add("tcp.port", TCP_PORT_ACAP, acap_handle);
}