aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/t38
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2015-03-01 23:03:27 -0500
committerAnders Broman <a.broman58@gmail.com>2015-03-03 09:02:25 +0000
commitb7ef891af868b6026391d3473c0b43e7229e5b31 (patch)
tree073d847595f777447f804937957324fcbae9c653 /asn1/t38
parent599dd4ffcc31bb03e44fd4ed72db4d6b8fbc38f0 (diff)
Replace tvb_get_ptr calls with a better API choice.
Just reduces the overall tvb_get_ptr usage count in the dissector directory. Change-Id: I455dc4cc9b082ecccdd254a2e5121f3353b5a812 Reviewed-on: https://code.wireshark.org/review/7491 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'asn1/t38')
-rw-r--r--asn1/t38/packet-t38-template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1/t38/packet-t38-template.c b/asn1/t38/packet-t38-template.c
index cf0e51ea44..09d1154a6b 100644
--- a/asn1/t38/packet-t38-template.c
+++ b/asn1/t38/packet-t38-template.c
@@ -351,7 +351,7 @@ force_reassemble_seq(reassembly_table *table, packet_info *pinfo, guint32 id)
for (fd_i=fd_head->next;fd_i && fd_i->len + dfpos <= size;fd_i=fd_i->next) {
if (fd_i->len) {
if(!last_fd || last_fd->offset!=fd_i->offset){
- memcpy(data+dfpos,tvb_get_ptr(fd_i->tvb_data,0,fd_i->len),fd_i->len);
+ tvb_memcpy(fd_i->tvb_data, data+dfpos, 0, fd_i->len);
dfpos += fd_i->len;
} else {
/* duplicate/retransmission/overlap */