From fd3aa71e67fb5d03d277d20528b5411c39dcfabd Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Tue, 20 Feb 2007 21:58:30 +0000 Subject: [PATCH] Test before comitting... svn path=/trunk/; revision=20883 --- epan/dissectors/packet-bssgp.c | 6 +++--- 1 file 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; }