aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-per.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-10-31 18:42:53 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-10-31 18:42:53 +0000
commit76ba68775b31682d663b19256fab4156515e3eec (patch)
tree37484e371efe01a7a35977fd0d17fcc3428850e3 /epan/dissectors/packet-per.c
parent33294f830c1b63d7ecde922aee90d126dc00e461 (diff)
Do not call a variable value_string as we have a struct with this name.
svn path=/trunk/; revision=26658
Diffstat (limited to 'epan/dissectors/packet-per.c')
-rw-r--r--epan/dissectors/packet-per.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-per.c b/epan/dissectors/packet-per.c
index 81ae387686..fdf502ab6d 100644
--- a/epan/dissectors/packet-per.c
+++ b/epan/dissectors/packet-per.c
@@ -900,18 +900,18 @@ DEBUG_ENTRY("dissect_per_object_identifier");
}
guint32
-dissect_per_object_identifier_str(tvbuff_t *tvb, guint32 offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index, const char **value_string)
+dissect_per_object_identifier_str(tvbuff_t *tvb, guint32 offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index, const char **value_stringx)
{
tvbuff_t *value_tvb = NULL;
guint length;
- offset = dissect_per_object_identifier(tvb, offset, actx, tree, hf_index, (value_string) ? &value_tvb : NULL);
+ offset = dissect_per_object_identifier(tvb, offset, actx, tree, hf_index, (value_stringx) ? &value_tvb : NULL);
- if (value_string) {
+ if (value_stringx) {
if (value_tvb && (length = tvb_length(value_tvb))) {
- *value_string = oid_encoded2string(tvb_get_ptr(value_tvb, 0, length), length);
+ *value_stringx = oid_encoded2string(tvb_get_ptr(value_tvb, 0, length), length);
} else {
- *value_string = "";
+ *value_stringx = "";
}
}