diff options
author | Martin Kaiser <wireshark@kaiser.cx> | 2015-06-23 13:58:55 -0700 |
---|---|---|
committer | Martin Kaiser <wireshark@kaiser.cx> | 2015-06-23 21:04:41 +0000 |
commit | e53337accf76cddd4e0c3aaed3fb03d128c65f69 (patch) | |
tree | 22cb3f9fbdabe56323ca7e5fd5be9531c4b338ae /epan/dissectors/packet-icq.c | |
parent | 99ab5c9d3838e56a046d5e15295905bbd691d721 (diff) |
replace another bunch of deprecated tvb_length calls
Change-Id: Ib7c50b55942220d48de025642154b4bf3f39c8a2
Reviewed-on: https://code.wireshark.org/review/9074
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Diffstat (limited to 'epan/dissectors/packet-icq.c')
-rw-r--r-- | epan/dissectors/packet-icq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-icq.c b/epan/dissectors/packet-icq.c index 00ed88a223..4b4b83ca94 100644 --- a/epan/dissectors/packet-icq.c +++ b/epan/dissectors/packet-icq.c @@ -1071,7 +1071,7 @@ dissect_icqv5Client(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) tvbuff_t *decr_tvb; pktsize = tvb_reported_length(tvb); - capturedsize = tvb_length(tvb); + capturedsize = tvb_captured_length(tvb); /* Get the encryption key */ code = tvb_get_letohl(tvb, ICQ5_CL_CHECKCODE); @@ -1278,7 +1278,7 @@ dissect_icq(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) proto_tree_add_item(icq_tree, hf_icq_version, tvb, ICQ_VERSION, 2, ENC_LITTLE_ENDIAN); } - return (tvb_length(tvb)); + return (tvb_captured_length(tvb)); } /* registration with the filtering engine */ |