aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-pvfs2.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2017-01-31 07:51:19 -0500
committerMichael Mann <mmann78@netscape.net>2017-01-31 17:08:47 +0000
commit51a30142251e377ec28eb8584c56386c2481d6c0 (patch)
tree4a4667a656f60327647805022e5811b6f2c42052 /epan/dissectors/packet-pvfs2.c
parent0165b8c40cfd6ca529408862095c1213bdf1ebd5 (diff)
format_text_wmem -> format_text
All cases of the "original" format_text have been handled to add the proper wmem allocator scope. Remove the "original" format_text and replace it with one that has a wmem allocator as a parameter. Change-Id: I278b93bcb4a17ff396413b75cd332f5fc2666719 Reviewed-on: https://code.wireshark.org/review/19884 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-pvfs2.c')
-rw-r--r--epan/dissectors/packet-pvfs2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-pvfs2.c b/epan/dissectors/packet-pvfs2.c
index be9e09e98f..e5b23ece35 100644
--- a/epan/dissectors/packet-pvfs2.c
+++ b/epan/dissectors/packet-pvfs2.c
@@ -893,7 +893,7 @@ dissect_pvfs_opaque_data(tvbuff_t *tvb, int offset,
size_t string_buffer_size = 0;
char *string_buffer_temp;
- formatted = format_text_wmem(wmem_packet_scope(), (guint8 *)string_buffer,
+ formatted = format_text(wmem_packet_scope(), (guint8 *)string_buffer,
(int)strlen(string_buffer));
string_buffer_size = strlen(formatted) + 12 + 1;
@@ -917,7 +917,7 @@ dissect_pvfs_opaque_data(tvbuff_t *tvb, int offset,
}
} else {
if (string_data) {
- string_buffer_print = format_text_wmem(wmem_packet_scope(), (guint8 *) string_buffer,
+ string_buffer_print = format_text(wmem_packet_scope(), (guint8 *) string_buffer,
(int)strlen(string_buffer));
} else {
string_buffer_print="<DATA>";