aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-text-media.c
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2014-06-17 17:49:26 +0200
committerAnders Broman <a.broman58@gmail.com>2014-06-18 14:20:32 +0000
commit021e7afc9fcba09094d0e2143cc434a34e3b09dc (patch)
treefa0f1cf92d649f2773d63ba35f67c8722e31fb38 /epan/dissectors/packet-text-media.c
parent246fe2ca4c67d8c98caa84e2f57694f6322e2f96 (diff)
Fixup: tvb_ensure_length_remaining -> tvb_ensure_captured_length_remaining
Change-Id: I0228f3b6b7067bc0ce51f9d359f99fd18feb2b66 Reviewed-on: https://code.wireshark.org/review/2378 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-text-media.c')
-rw-r--r--epan/dissectors/packet-text-media.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-text-media.c b/epan/dissectors/packet-text-media.c
index a1069c4c65..f1955a71b5 100644
--- a/epan/dissectors/packet-text-media.c
+++ b/epan/dissectors/packet-text-media.c
@@ -117,7 +117,7 @@ dissect_text_lines(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* da
* special processing.
*/
len = tvb_find_line_end(tvb, offset,
- tvb_ensure_length_remaining(tvb, offset),
+ tvb_ensure_captured_length_remaining(tvb, offset),
&next_offset, FALSE);
if (len == -1)
break;