aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-aim-ssi.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-09-22 08:04:40 +0000
committerGuy Harris <guy@alum.mit.edu>2004-09-22 08:04:40 +0000
commit8dedbeed1cd700846478d9de90e0d3b2e364d684 (patch)
treeb7eea02b640b90ba06f02d8699f52480ce810446 /epan/dissectors/packet-aim-ssi.c
parentcc6754d659239dc7a1265351be5ee5c4a30171a2 (diff)
From Jelmer Vernooij:
- Dissect the DC (Direct Connection) info structure - Dissect the complete buddy icon family (you can now save buddy icons as .JPG's/.PNG's directly from the capture using the "Export selected bytes..." option!) - Add a function that dissects a sequence of TLV's instead of having while() loops all over the place. svn path=/trunk/; revision=12063
Diffstat (limited to 'epan/dissectors/packet-aim-ssi.c')
-rw-r--r--epan/dissectors/packet-aim-ssi.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/epan/dissectors/packet-aim-ssi.c b/epan/dissectors/packet-aim-ssi.c
index adbee47bf7..39b8fcd3db 100644
--- a/epan/dissectors/packet-aim-ssi.c
+++ b/epan/dissectors/packet-aim-ssi.c
@@ -146,11 +146,7 @@ static int dissect_ssi_ssi_item(tvbuff_t *tvb, packet_info *pinfo,
static int dissect_aim_ssi_rightsinfo(tvbuff_t *tvb, packet_info *pinfo, proto_tree *ssi_tree)
{
- int offset = 0;
- while(tvb_length_remaining(tvb, offset) > 0) {
- offset = dissect_aim_tlv(tvb, pinfo, offset, ssi_tree, ssi_rightsinfo_tlvs);
- }
- return offset;
+ return dissect_aim_tlv_sequence(tvb, pinfo, 0, ssi_tree, ssi_rightsinfo_tlvs);
}
static int dissect_aim_ssi_was_added(tvbuff_t *tvb, packet_info *pinfo, proto_tree *ssi_tree)