aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bssgp.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2007-02-20 21:58:30 +0000
committerAnders Broman <anders.broman@ericsson.com>2007-02-20 21:58:30 +0000
commitfd3aa71e67fb5d03d277d20528b5411c39dcfabd (patch)
treecc3dadbd87a5fd42036b3b93dfddca2a13e5e86e /epan/dissectors/packet-bssgp.c
parentdd7323f981be43c50f18934b210f2a5139963925 (diff)
Test before comitting...
svn path=/trunk/; revision=20883
Diffstat (limited to 'epan/dissectors/packet-bssgp.c')
-rw-r--r--epan/dissectors/packet-bssgp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-bssgp.c b/epan/dissectors/packet-bssgp.c
index 13c2142ae3..7b236eb7c9 100644
--- a/epan/dissectors/packet-bssgp.c
+++ b/epan/dissectors/packet-bssgp.c
@@ -4376,7 +4376,7 @@ decode_ie(bssgp_ie_t *ie, build_info_t *bi) {
gboolean use_default_ie_name = (ie->name == NULL);
if (tvb_length_remaining(bi->tvb, bi->offset) < 1) {
- proto_tree_add_none_format(bi->bssgp_tree, -1, bi->tvb, 0, -1, "[tvb_length_remaining] length remaining: %d", tvb_length_remaining(bi->tvb, bi->offset));
+ proto_tree_add_none_format(bi->bssgp_tree, NULL, bi->tvb, 0, -1, "[tvb_length_remaining] length remaining: %d", tvb_length_remaining(bi->tvb, bi->offset));
return;
}
switch (ie->format) {
@@ -4384,7 +4384,7 @@ decode_ie(bssgp_ie_t *ie, build_info_t *bi) {
if (!check_correct_iei(ie, bi)) {
#ifdef BSSGP_DEBUG
/* TODO This code does not work well with omitted Optional elements */
- proto_tree_add_none_format(bi->bssgp_tree, -1, bi->tvb, 0, -1, "[BSSGP_IE_FORMAT_TLV] format: %d", ie->format);
+ proto_tree_add_none_format(bi->bssgp_tree, NULL, bi->tvb, 0, -1, "[BSSGP_IE_FORMAT_TLV] format: %d", ie->format);
#endif
return;
}
@@ -4396,7 +4396,7 @@ decode_ie(bssgp_ie_t *ie, build_info_t *bi) {
if (!check_correct_iei(ie, bi)) {
#ifdef BSSGP_DEBUG
/* TODO This code does not work well with omitted Optional elements */
- proto_tree_add_none_format(bi->bssgp_tree, -1, bi->tvb, 0, -1, "[BSSGP_IE_FORMAT_TV] format: %d", ie->format);
+ proto_tree_add_none_format(bi->bssgp_tree, NULL, bi->tvb, 0, -1, "[BSSGP_IE_FORMAT_TV] format: %d", ie->format);
#endif
return;
}