aboutsummaryrefslogtreecommitdiffstats
path: root/epan/radius_dict.l
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2011-08-07 18:15:45 +0000
committerJörg Mayer <jmayer@loplof.de>2011-08-07 18:15:45 +0000
commitc15ff441c66bf3592c03936d8a08a69ac8402377 (patch)
treeb8bd2c48af92dcf50aa9122b8cb9fb6cb0580da8 /epan/radius_dict.l
parent9e61dfeb338e86e0e8ff6e1a2ef87674d02b4d0d (diff)
Replace deprecated glib functions.
In order to compile the whole project with -DG_DISABLE_DEPRECATED the mate plugin needs to replace its usage of GMemChunk. All other places should be clean. svn path=/trunk/; revision=38392
Diffstat (limited to 'epan/radius_dict.l')
-rw-r--r--epan/radius_dict.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/radius_dict.l b/epan/radius_dict.l
index 75a0ed1bdd..d2780d745c 100644
--- a/epan/radius_dict.l
+++ b/epan/radius_dict.l
@@ -395,13 +395,13 @@ void add_tlv(const gchar* name, const gchar* codestr, radius_attr_dissector_t t
a = g_hash_table_lookup(dict->attrs_by_name, current_attr);
if (! a) {
- g_string_sprintfa(error, "Attr: '%s', does not exist in %s:%i \n", current_attr, fullpaths[include_stack_ptr], linenums[include_stack_ptr]);
+ g_string_append_printf(error, "Attr: '%s', does not exist in %s:%i \n", current_attr, fullpaths[include_stack_ptr], linenums[include_stack_ptr]);
BEGIN JUNK;
return;
}
if (type == radius_tlv) {
- g_string_sprintfa(error, "sub-TLV: '%s', sub-TLV's type is specified as tlv in %s:%i \n", name, fullpaths[include_stack_ptr], linenums[include_stack_ptr]);
+ g_string_append_printf(error, "sub-TLV: '%s', sub-TLV's type is specified as tlv in %s:%i \n", name, fullpaths[include_stack_ptr], linenums[include_stack_ptr]);
BEGIN JUNK;
return;
}