aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gtp.c
diff options
context:
space:
mode:
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2005-08-10 13:41:13 +0000
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2005-08-10 13:41:13 +0000
commit1d203a4a410d7725b011948efc5ba91b54691533 (patch)
tree05b2dac45e4d53ecfac0cd8657236f9e4ded41b7 /epan/dissectors/packet-gtp.c
parent28e16917f79ee5a014190135bcecf053518d0017 (diff)
rename ep_tvb_get_string() to tvb_get_ephemeral_string() asnd update the documentation in README.developer
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15270 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-gtp.c')
-rw-r--r--epan/dissectors/packet-gtp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-gtp.c b/epan/dissectors/packet-gtp.c
index d409335bf0..910a9f5272 100644
--- a/epan/dissectors/packet-gtp.c
+++ b/epan/dissectors/packet-gtp.c
@@ -3144,7 +3144,7 @@ decode_apn(tvbuff_t *tvb, int offset, guint16 length, proto_tree *tree) {
name_len = tvb_get_guint8 (tvb, offset);
if (name_len < 0x20) {
- apn = ep_tvb_get_string(tvb, offset + 1, length - 1);
+ apn = tvb_get_ephemeral_string(tvb, offset + 1, length - 1);
for (;;) {
if (name_len >= length - 1) break;
tmp = name_len;
@@ -3152,7 +3152,7 @@ decode_apn(tvbuff_t *tvb, int offset, guint16 length, proto_tree *tree) {
apn[tmp] = '.';
}
} else
- apn = ep_tvb_get_string(tvb, offset, length);
+ apn = tvb_get_ephemeral_string(tvb, offset, length);
proto_tree_add_string (tree, hf_gtp_apn, tvb, offset, length, apn);
}