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 /epan/sigcomp-udvm.c | |
parent | b7ab4db2108fda5a1370b807d1b03ad93b1ca8f8 (diff) | |
download | wireshark-a6415ece0ad102d30ac5dce59b127bcf1bd6d3f1.tar.gz wireshark-a6415ece0ad102d30ac5dce59b127bcf1bd6d3f1.tar.bz2 wireshark-a6415ece0ad102d30ac5dce59b127bcf1bd6d3f1.zip |
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 'epan/sigcomp-udvm.c')
-rw-r--r-- | epan/sigcomp-udvm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/sigcomp-udvm.c b/epan/sigcomp-udvm.c index cf0a96787f..9e39d348f8 100644 --- a/epan/sigcomp-udvm.c +++ b/epan/sigcomp-udvm.c @@ -892,7 +892,7 @@ execute_next_instruction: if (print_level_2 ){ proto_tree_add_text(udvm_tree, message_tvb, 0, -1, "Calculated SHA-1: %s", - bytes_to_str(sha1_digest_buf, STATE_BUFFER_SIZE)); + bytes_to_ep_str(sha1_digest_buf, STATE_BUFFER_SIZE)); } current_address = next_operand_address; @@ -2695,7 +2695,7 @@ execute_next_instruction: sha1_update( &ctx, (guint8 *) sha1buff, state_length_buff[n] + 8); sha1_finish( &ctx, sha1_digest_buf ); if (print_level_3 ){ - proto_tree_add_text(udvm_tree, bytecode_tvb, 0, -1,"SHA1 digest %s",bytes_to_str(sha1_digest_buf, STATE_BUFFER_SIZE)); + proto_tree_add_text(udvm_tree, bytecode_tvb, 0, -1,"SHA1 digest %s",bytes_to_ep_str(sha1_digest_buf, STATE_BUFFER_SIZE)); } /* begin partial state-id change cco@iptel.org */ @@ -2705,7 +2705,7 @@ execute_next_instruction: udvm_state_create(sha1buff, sha1_digest_buf, STATE_MIN_ACCESS_LEN); /* end partial state-id change cco@iptel.org */ proto_tree_add_text(udvm_tree,bytecode_tvb, 0, -1,"### Creating state ###"); - proto_tree_add_string(udvm_tree,hf_id, bytecode_tvb, 0, 0, bytes_to_str(sha1_digest_buf, state_minimum_access_length_buff[n])); + proto_tree_add_string(udvm_tree,hf_id, bytecode_tvb, 0, 0, bytes_to_ep_str(sha1_digest_buf, state_minimum_access_length_buff[n])); n++; |