diff options
author | AndersBroman <anders.broman@ericsson.com> | 2015-04-09 14:36:26 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-04-09 12:38:04 +0000 |
commit | c2a1d8feed0791478629c8dba775ec5f3bda7653 (patch) | |
tree | c224f56e5e36002414977001a3dcb79f3da5e3f2 /epan/dissectors/packet-dap.c | |
parent | 5fa267e870364902864d67f9ea297e52e6029cd7 (diff) |
Replace deprecated API tvb_length -> tvb_reported_length
Change-Id: I9c8bf6beec47afb901e492723b335a28a24f455e
Reviewed-on: https://code.wireshark.org/review/8004
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-dap.c')
-rw-r--r-- | epan/dissectors/packet-dap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dap.c b/epan/dissectors/packet-dap.c index 261f231fc5..a44b17259c 100644 --- a/epan/dissectors/packet-dap.c +++ b/epan/dissectors/packet-dap.c @@ -1573,7 +1573,7 @@ dissect_dap_T_pagedResultsQueryReference(gboolean implicit_tag _U_, tvbuff_t *tv if(out_tvb) { - len = tvb_length(out_tvb); + len = tvb_reported_length(out_tvb); /* now see if we can add a string representation */ for(i=0; i<len; i++) if(!g_ascii_isprint(tvb_get_guint8(out_tvb, i))) |