From 6c831d6160e6448b3b498ee348fd53271445bfdc Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Fri, 7 Mar 2014 16:47:53 +0100 Subject: Fix indent (use tabs) and modelines info (Need to continue on other packet-dcerpc-* file...) Change-Id: I536d52017940cac9c810693045649a67e77a336a Reviewed-on: https://code.wireshark.org/review/549 Reviewed-by: Alexis La Goutte Tested-by: Alexis La Goutte --- epan/dissectors/packet-dcerpc-trksvr.c | 43 ++++++++++++++++++++++------------ 1 file changed, 28 insertions(+), 15 deletions(-) (limited to 'epan/dissectors/packet-dcerpc-trksvr.c') diff --git a/epan/dissectors/packet-dcerpc-trksvr.c b/epan/dissectors/packet-dcerpc-trksvr.c index 3ce043052f..d1d14ae128 100644 --- a/epan/dissectors/packet-dcerpc-trksvr.c +++ b/epan/dissectors/packet-dcerpc-trksvr.c @@ -46,17 +46,17 @@ static gint ett_dcerpc_trksvr = -1; IDL { */ static e_uuid_t uuid_dcerpc_trksvr = { - 0x4da1c422, 0x943d, 0x11d1, - { 0xac, 0xae, 0x00, 0xc0, 0x4f, 0xc2, 0xaa, 0x3f } + 0x4da1c422, 0x943d, 0x11d1, + { 0xac, 0xae, 0x00, 0xc0, 0x4f, 0xc2, 0xaa, 0x3f } }; static guint16 ver_dcerpc_trksvr = 1; static dcerpc_sub_dissector dcerpc_trksvr_dissectors[] = { - { 0, "LnkSvrMessage", + { 0, "LnkSvrMessage", NULL, NULL }, - {0, NULL, NULL, NULL } + {0, NULL, NULL, NULL } }; void @@ -73,25 +73,38 @@ static hf_register_info hf[] = { #endif }; - static gint *ett[] = { - &ett_dcerpc_trksvr - }; + static gint *ett[] = { + &ett_dcerpc_trksvr + }; - proto_dcerpc_trksvr = proto_register_protocol( - "Microsoft Distributed Link Tracking Server Service", "TRKSVR", "trksvr"); + proto_dcerpc_trksvr = proto_register_protocol( + "Microsoft Distributed Link Tracking Server Service", "TRKSVR", "trksvr"); - proto_register_field_array(proto_dcerpc_trksvr, hf, + proto_register_field_array(proto_dcerpc_trksvr, hf, array_length(hf)); - proto_register_subtree_array(ett, array_length(ett)); + proto_register_subtree_array(ett, array_length(ett)); } void proto_reg_handoff_dcerpc_trksvr(void) { - /* Register protocol as dcerpc */ + /* Register protocol as dcerpc */ - dcerpc_init_uuid(proto_dcerpc_trksvr, ett_dcerpc_trksvr, - &uuid_dcerpc_trksvr, ver_dcerpc_trksvr, - dcerpc_trksvr_dissectors, hf_trksvr_opnum); + dcerpc_init_uuid(proto_dcerpc_trksvr, ett_dcerpc_trksvr, + &uuid_dcerpc_trksvr, ver_dcerpc_trksvr, + dcerpc_trksvr_dissectors, hf_trksvr_opnum); } + +/* + * Editor modelines + * + * Local Variables: + * c-basic-offset: 8 + * tab-width: 8 + * indent-tabs-mode: t + * End: + * + * ex: set shiftwidth=8 tabstop=8 noexpandtab: + * :indentSize=8:tabSize=8:noTabs=false: + */ -- cgit v1.2.3