aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-12-19 15:49:09 +0000
committerEvan Huus <eapache@gmail.com>2013-12-19 15:49:09 +0000
commita6415ece0ad102d30ac5dce59b127bcf1bd6d3f1 (patch)
tree0eff98882fe8c8a9db6f064b87330b8060fe37b2 /plugins
parentb7ab4db2108fda5a1370b807d1b03ad93b1ca8f8 (diff)
Rename a couple of to_str functions to have ep_ in the name. This makes it
obvious that the returned string is ephemeral, and opens up the original names in the API for versions that take a wmem pool (and thus can work in any scope). svn path=/trunk/; revision=54249
Diffstat (limited to 'plugins')
-rw-r--r--plugins/wimaxasncp/packet-wimaxasncp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/wimaxasncp/packet-wimaxasncp.c b/plugins/wimaxasncp/packet-wimaxasncp.c
index 05c9b99ed0..6662b5bac5 100644
--- a/plugins/wimaxasncp/packet-wimaxasncp.c
+++ b/plugins/wimaxasncp/packet-wimaxasncp.c
@@ -1070,7 +1070,7 @@ static void wimaxasncp_dissect_tlv_value(
const gchar *format1;
const gchar *format2;
const guint8 *p = tvb_get_ptr(tvb, offset, length);
- const gchar *s = bytestring_to_str(p, MIN(length, max_show_bytes), 0);
+ const gchar *s = bytestring_to_ep_str(p, MIN(length, max_show_bytes), 0);
if (length <= max_show_bytes)
{
@@ -1250,7 +1250,7 @@ static void wimaxasncp_dissect_tlv_value(
{
const gchar *format;
const guint8 *p = tvb_get_ptr(tvb, offset, length);
- const gchar *s = bytestring_to_str(p, MIN(length, max_show_bytes), 0);
+ const gchar *s = bytestring_to_ep_str(p, MIN(length, max_show_bytes), 0);
if (length <= max_show_bytes)
{
@@ -1770,7 +1770,7 @@ static void wimaxasncp_dissect_tlv_value(
const gchar *format2;
const guint8 *p = tvb_get_ptr(tvb, offset, length);
const gchar *s =
- bytestring_to_str(p, MIN(length, max_show_bytes), 0);
+ bytestring_to_ep_str(p, MIN(length, max_show_bytes), 0);
if (length <= max_show_bytes)
{
@@ -1810,7 +1810,7 @@ static void wimaxasncp_dissect_tlv_value(
{
const gchar *format;
const guint8 *p = tvb_get_ptr(tvb, offset, length);
- const gchar *s = bytestring_to_str(p, MIN(length, max_show_bytes), 0);
+ const gchar *s = bytestring_to_ep_str(p, MIN(length, max_show_bytes), 0);
if (length <= max_show_bytes)
{