diff options
Diffstat (limited to 'epan/dissectors/packet-aim-userlookup.c')
-rw-r--r-- | epan/dissectors/packet-aim-userlookup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-aim-userlookup.c b/epan/dissectors/packet-aim-userlookup.c index 3b72c2d2c8..6ad505b64a 100644 --- a/epan/dissectors/packet-aim-userlookup.c +++ b/epan/dissectors/packet-aim-userlookup.c @@ -44,8 +44,8 @@ static gint ett_aim_userlookup = -1; static int dissect_aim_userlookup_search(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *lookup_tree) { - proto_tree_add_item(lookup_tree, hf_aim_userlookup_email, tvb, 0, tvb_length(tvb), ENC_UTF_8|ENC_NA); - return tvb_length(tvb); + proto_tree_add_item(lookup_tree, hf_aim_userlookup_email, tvb, 0, tvb_captured_length(tvb), ENC_UTF_8|ENC_NA); + return tvb_captured_length(tvb); } |