aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-aim-ssi.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-09-22 08:04:40 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-09-22 08:04:40 +0000
commit8e9bc7e20069294a84f7ca202d8ece58b85b7d1f (patch)
treeb7eea02b640b90ba06f02d8699f52480ce810446 /epan/dissectors/packet-aim-ssi.c
parentdc2aa7178b809b4f67c5ed0560438e663b19e20c (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12063 f5534014-38df-0310-8fa8-9805f1628bb7
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)