diff options
author | Evan Huus <eapache@gmail.com> | 2013-12-19 15:49:09 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-12-19 15:49:09 +0000 |
commit | a6415ece0ad102d30ac5dce59b127bcf1bd6d3f1 (patch) | |
tree | 0eff98882fe8c8a9db6f064b87330b8060fe37b2 /asn1/h248/h248.cnf | |
parent | b7ab4db2108fda5a1370b807d1b03ad93b1ca8f8 (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 'asn1/h248/h248.cnf')
-rw-r--r-- | asn1/h248/h248.cnf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/h248/h248.cnf b/asn1/h248/h248.cnf index 3f068f39e3..e445a30c95 100644 --- a/asn1/h248/h248.cnf +++ b/asn1/h248/h248.cnf @@ -340,7 +340,7 @@ AuditReplyV1/auditResult audit_result if (curr_info.term->len) { curr_info.term->buffer = (guint8 *)tvb_memdup(wmem_packet_scope(),new_tvb,0,curr_info.term->len); - curr_info.term->str = bytes_to_str(curr_info.term->buffer,curr_info.term->len); + curr_info.term->str = bytes_to_ep_str(curr_info.term->buffer,curr_info.term->len); } curr_info.term = gcp_cmd_add_term(curr_info.msg, curr_info.trx, curr_info.cmd, curr_info.term, wild_term, keep_persistent_data); @@ -395,7 +395,7 @@ AuditReplyV1/auditResult audit_result /* not ascii or NULL character so do string as hex string */ proto_tree_add_text(tree, tvb, offset, len,"%s: 0x%s", (proto_registrar_get_nth(hf_index))->name, - tvb_bytes_to_str(tvb, 0, len)); + tvb_bytes_to_ep_str(tvb, 0, len)); return len; }; }; |