aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-07-04 16:24:57 -0700
committerGuy Harris <guy@alum.mit.edu>2016-07-04 23:25:30 +0000
commit308a538addd816431732d6f0ac35f7d2bdc76712 (patch)
tree4f176fe45ee0d7c7c6dc3175c9a7e80187aa173d /epan
parent6e913894709c3fe1f75e1750ee2f18c6b69aefd2 (diff)
Style fix and trailing whitespace fix.
Change-Id: I03a438fa58f84939f6245426cbe725e6196c2560 Reviewed-on: https://code.wireshark.org/review/16297 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-lbmr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/dissectors/packet-lbmr.c b/epan/dissectors/packet-lbmr.c
index d22199fd6b..5522d8af50 100644
--- a/epan/dissectors/packet-lbmr.c
+++ b/epan/dissectors/packet-lbmr.c
@@ -3286,10 +3286,11 @@ static int dissect_lbmr_tnwg_interest_rec(tvbuff_t * tvb, int offset, packet_inf
rec_item = proto_tree_add_item(tree, hf_lbmr_tnwg_interest_rec, tvb, offset, rec_len, ENC_NA);
rec_tree = proto_item_add_subtree(rec_item, ett_lbmr_tnwg_interest_rec);
proto_tree_add_item(rec_tree, hf_lbmr_tnwg_interest_rec_len, tvb, offset + O_LBMR_TNWG_INTEREST_REC_T_LEN, L_LBMR_TNWG_INTEREST_REC_T_LEN, ENC_BIG_ENDIAN);
- if (rec_len < L_LBMR_TNWG_INTEREST_REC_T) {
+ if (rec_len < L_LBMR_TNWG_INTEREST_REC_T)
+ {
/* XXX - report an error */
return ((int)rec_len);
- }
+ }
proto_tree_add_bitmask(rec_tree, tvb, offset + O_LBMR_TNWG_INTEREST_REC_T_FLAGS, hf_lbmr_tnwg_interest_rec_flags, ett_lbmr_tnwg_interest_rec_flags, flags, ENC_BIG_ENDIAN);
proto_tree_add_item(rec_tree, hf_lbmr_tnwg_interest_rec_pattype, tvb, offset + O_LBMR_TNWG_INTEREST_REC_T_PATTYPE, L_LBMR_TNWG_INTEREST_REC_T_PATTYPE, ENC_BIG_ENDIAN);
proto_tree_add_item(rec_tree, hf_lbmr_tnwg_interest_rec_domain_id, tvb, offset + O_LBMR_TNWG_INTEREST_REC_T_DOMAIN_ID, L_LBMR_TNWG_INTEREST_REC_T_DOMAIN_ID, ENC_BIG_ENDIAN);