summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-opsi.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2014-10-06 12:55:18 -0400
committerBill Meier <wmeier@newsguy.com>2014-10-06 17:12:33 +0000
commit24d50bc2904c265f9f89b3df25c9e41f309a29bb (patch)
tree640c01f38985d1104b47ce3f007922c3afe4df74 /epan/dissectors/packet-opsi.c
parentc822eeabe442f1d5724d63bcd0720b66c752a85b (diff)
downloadwireshark-24d50bc2904c265f9f89b3df25c9e41f309a29bb.tar.gz
Adjust indentation to match editor modelines; Do other minor whitespace changes.
Change-Id: Ic020b2c92db5d14a2be9dc4d35aef4514b8b0353 Reviewed-on: https://code.wireshark.org/review/4502 Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'epan/dissectors/packet-opsi.c')
-rw-r--r--epan/dissectors/packet-opsi.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/epan/dissectors/packet-opsi.c b/epan/dissectors/packet-opsi.c
index 0ed77ccdf8..dffe71e311 100644
--- a/epan/dissectors/packet-opsi.c
+++ b/epan/dissectors/packet-opsi.c
@@ -482,9 +482,9 @@ decode_time_attribute(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto
expert_add_info(pinfo, item, &ei_opsi_short_attribute);
return;
}
- ns.secs = tvb_get_ntohl(tvb, offset+4);
- ns.nsecs = 0;
- proto_tree_add_time(tree, *hfValue, tvb, offset+4, 4, &ns);
+ ns.secs = tvb_get_ntohl(tvb, offset+4);
+ ns.nsecs = 0;
+ proto_tree_add_time(tree, *hfValue, tvb, offset+4, 4, &ns);
}
/****************************************************************************/
@@ -495,12 +495,12 @@ decode_time_attribute(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto
static guint
get_opsi_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset)
{
- /*
- * Get the length of the OPSI packet.
- * We are guaranteed there're enough chars in tvb in order to
- * extract the length value. No exception thrown !!
- */
- return tvb_get_ntohs(tvb, offset + 4);
+ /*
+ * Get the length of the OPSI packet.
+ * We are guaranteed there're enough chars in tvb in order to
+ * extract the length value. No exception thrown !!
+ */
+ return tvb_get_ntohs(tvb, offset + 4);
}
static int
@@ -876,10 +876,10 @@ proto_register_opsi(void)
/* We activate the desegmentation / reassembly feature */
opsi_module = prefs_register_protocol(proto_opsi, NULL);
- prefs_register_bool_preference(opsi_module, "desegment_opsi_messages",
- "Reassemble OPSI messages spanning multiple TCP segments",
- "Whether the OPSI dissector should desegment all messages spanning multiple TCP segments",
- &opsi_desegment);
+ prefs_register_bool_preference(opsi_module, "desegment_opsi_messages",
+ "Reassemble OPSI messages spanning multiple TCP segments",
+ "Whether the OPSI dissector should desegment all messages spanning multiple TCP segments",
+ &opsi_desegment);
}