diff options
author | Jörg Mayer <jmayer@loplof.de> | 2011-08-07 18:15:45 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2011-08-07 18:15:45 +0000 |
commit | c15ff441c66bf3592c03936d8a08a69ac8402377 (patch) | |
tree | b8bd2c48af92dcf50aa9122b8cb9fb6cb0580da8 /epan/radius_dict.l | |
parent | 9e61dfeb338e86e0e8ff6e1a2ef87674d02b4d0d (diff) | |
download | wireshark-c15ff441c66bf3592c03936d8a08a69ac8402377.tar.gz |
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.l | 4 |
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; } |