aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-winsrepl.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2014-10-03 10:13:07 -0400
committerBill Meier <wmeier@newsguy.com>2014-10-03 14:28:42 +0000
commitbb5daa6ae9070a1093b5fbc8f078d9eaf101d769 (patch)
tree9af6b8bd3bbcaa75ea90adf0709069d245e14c2d /epan/dissectors/packet-winsrepl.c
parent451de17929eaa48af07bfc6154a9603318121562 (diff)
Add editor modelines; Adjust whitespace as needed.
Change-Id: I391cdf80a6e4ae5b0f4068e0500a90d013588f8a Reviewed-on: https://code.wireshark.org/review/4442 Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'epan/dissectors/packet-winsrepl.c')
-rw-r--r--epan/dissectors/packet-winsrepl.c19
1 files changed, 16 insertions, 3 deletions
diff --git a/epan/dissectors/packet-winsrepl.c b/epan/dissectors/packet-winsrepl.c
index cb24e9778b..3d5162ef8a 100644
--- a/epan/dissectors/packet-winsrepl.c
+++ b/epan/dissectors/packet-winsrepl.c
@@ -683,10 +683,10 @@ dissect_winsrepl_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree,
static guint
get_winsrepl_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset)
{
- guint pdu_len;
+ guint pdu_len;
- pdu_len=tvb_get_ntohl(tvb, offset);
- return pdu_len+4;
+ pdu_len=tvb_get_ntohl(tvb, offset);
+ return pdu_len+4;
}
static int
@@ -885,3 +885,16 @@ proto_reg_handoff_winsrepl(void)
winsrepl_handle = new_create_dissector_handle(dissect_winsrepl, proto_winsrepl);
dissector_add_uint("tcp.port", glb_winsrepl_tcp_port, winsrepl_handle);
}
+
+/*
+ * Editor modelines - http://www.wireshark.org/tools/modelines.html
+ *
+ * Local variables:
+ * c-basic-offset: 8
+ * tab-width: 8
+ * indent-tabs-mode: t
+ * End:
+ *
+ * vi: set shiftwidth=8 tabstop=8 noexpandtab:
+ * :indentSize=8:tabSize=8:noTabs=false:
+ */