summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-fix.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-08-10 13:41:13 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-08-10 13:41:13 +0000
commitec3ab9ec3e56a8d2c4f037a8714eba007c0dfcf3 (patch)
tree05b2dac45e4d53ecfac0cd8657236f9e4ded41b7 /epan/dissectors/packet-fix.c
parent19dd9f815952fd4d841c1935319c2987781c51be (diff)
downloadwireshark-ec3ab9ec3e56a8d2c4f037a8714eba007c0dfcf3.tar.gz
rename ep_tvb_get_string() to tvb_get_ephemeral_string() asnd update the documentation in README.developer
svn path=/trunk/; revision=15270
Diffstat (limited to 'epan/dissectors/packet-fix.c')
-rw-r--r--epan/dissectors/packet-fix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-fix.c b/epan/dissectors/packet-fix.c
index beae7737b9..133998245b 100644
--- a/epan/dissectors/packet-fix.c
+++ b/epan/dissectors/packet-fix.c
@@ -868,7 +868,7 @@ dissect_fix(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
}
if (check_col(pinfo->cinfo, COL_INFO)) {
- value = ep_tvb_get_string(tvb, value_offset, value_len);
+ value = tvb_get_ephemeral_string(tvb, value_offset, value_len);
col_add_fstr(pinfo->cinfo, COL_INFO, "%s", (char *)g_datalist_get_data(&msg_types, value));
}
@@ -925,10 +925,10 @@ dissect_fix(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
packet. */
return TRUE;
}
- tag_str = ep_tvb_get_string(tvb, field_offset, tag_len);
+ tag_str = tvb_get_ephemeral_string(tvb, field_offset, tag_len);
tag = atoi(tag_str);
- value = ep_tvb_get_string(tvb, value_offset, value_len);
+ value = tvb_get_ephemeral_string(tvb, value_offset, value_len);
switch(tag) {
case 1: /* Field Account */