aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ansi_tcap.c
diff options
context:
space:
mode:
authorkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>2009-09-06 14:25:47 +0000
committerkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>2009-09-06 14:25:47 +0000
commit3f26ca830f3e614babf94e2050e8407b8ffd350f (patch)
tree2a60509a6637549f370b63ce3b27a3de8f9736d8 /epan/dissectors/packet-ansi_tcap.c
parent7109071de28ab4258488a0a157a75a2fc7723ce5 (diff)
Rename address_to_str() to ep_address_to_str() because:
1) This indicates that the string has ephemeral lifetime 2) More consistent with its existing seasonal counterpart, se_address_to_str(). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29747 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-ansi_tcap.c')
-rw-r--r--epan/dissectors/packet-ansi_tcap.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/epan/dissectors/packet-ansi_tcap.c b/epan/dissectors/packet-ansi_tcap.c
index dcd5df002a..1ce23b9bda 100644
--- a/epan/dissectors/packet-ansi_tcap.c
+++ b/epan/dissectors/packet-ansi_tcap.c
@@ -274,8 +274,8 @@ save_invoke_data(packet_info *pinfo, proto_tree *tree _U_, tvbuff_t *tvb _U_){
buf = ep_alloc(MAX_TID_STR_LEN);
buf[0] = '\0';
g_snprintf(buf, MAX_TID_STR_LEN, "%s%s%s",
- ansi_tcap_private.TransactionID_str, address_to_str(src),
- address_to_str(dst));
+ ansi_tcap_private.TransactionID_str, ep_address_to_str(src),
+ ep_address_to_str(dst));
/* If the entry allready exists don't owervrite it */
ansi_tcap_saved_invokedata = g_hash_table_lookup(TransactionId_table,buf);
@@ -312,8 +312,8 @@ find_saved_invokedata(packet_info *pinfo, proto_tree *tree _U_, tvbuff_t *tvb _U
buf[0] = '\0';
/* Reverse order to invoke */
g_snprintf(buf, MAX_TID_STR_LEN, "%s%s%s",
- ansi_tcap_private.TransactionID_str, address_to_str(dst),
- address_to_str(src));
+ ansi_tcap_private.TransactionID_str, ep_address_to_str(dst),
+ ep_address_to_str(src));
ansi_tcap_saved_invokedata = g_hash_table_lookup(TransactionId_table, buf);
if(ansi_tcap_saved_invokedata){
@@ -757,7 +757,7 @@ tvbuff_t *parameter_tvb;
&parameter_tvb);
if(!parameter_tvb)
return offset;
-
+
find_tcap_subdissector(parameter_tvb, actx, tree);
@@ -808,7 +808,7 @@ tvbuff_t *parameter_tvb;
&parameter_tvb);
if(!parameter_tvb)
return offset;
-
+
find_tcap_subdissector(parameter_tvb, actx, tree);
@@ -858,7 +858,7 @@ tvbuff_t *parameter_tvb;
&parameter_tvb);
if(!parameter_tvb)
return offset;
-
+
find_tcap_subdissector(parameter_tvb, actx, tree);