aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cigi.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-04-20 05:12:20 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-04-20 05:12:20 +0000
commitb02b6a932f06981b25428e5167f8ceb93d48e582 (patch)
tree4ccb885d854cef9d2adfc854589115d31d16d696 /epan/dissectors/packet-cigi.c
parentbb36edf54e92e22c143aee52c1aaa183e1e373e0 (diff)
From Evan Huus: Use Add DISSECTOR_ASSERT_HINT() macro. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7142
svn path=/trunk/; revision=42148
Diffstat (limited to 'epan/dissectors/packet-cigi.c')
-rw-r--r--epan/dissectors/packet-cigi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-cigi.c b/epan/dissectors/packet-cigi.c
index 44a72011bf..72cf1aa321 100644
--- a/epan/dissectors/packet-cigi.c
+++ b/epan/dissectors/packet-cigi.c
@@ -2977,7 +2977,7 @@ cigi2_add_tree(tvbuff_t *tvb, proto_tree *cigi_tree)
}
/* Does the packet offset match the supposed length of the packet? */
- DISSECTOR_ASSERT((offset - init_offset == packet_length) && "Packet offset does not match packet length");
+ DISSECTOR_ASSERT_HINT(offset - init_offset == packet_length, "Packet offset does not match packet length");
}
}
@@ -3371,7 +3371,7 @@ cigi3_add_tree(tvbuff_t *tvb, proto_tree *cigi_tree)
}
/* Does the packet offset match the supposed length of the packet? */
- DISSECTOR_ASSERT((offset - init_offset == packet_length) && "Packet offset does not match packet length");
+ DISSECTOR_ASSERT_HINT(offset - init_offset == packet_length, "Packet offset does not match packet length");
}
}