g_string_sprintf --> g_string_printf and g_string_sprintfa --> g_string_append_printf
[obnox/wireshark/wip.git] / epan / dfilter / dfilter-macro.c
index 179a5f00a32bc4fa02ea88f5a3c8ef1620665583..4242c833cdd887dc9a24c96432aa20d2a0827494 100644 (file)
@@ -202,9 +202,9 @@ static gchar* dfilter_macro_resolve(gchar* name, gchar** args, const gchar** err
 
        if (args) {
                while (*parts) {
-                       g_string_sprintfa(text,"%s%s",
-                                                 args[*(arg_pos_p++)],
-                                                 *(parts++));
+                       g_string_append_printf(text,"%s%s",
+                                              args[*(arg_pos_p++)],
+                                              *(parts++));
                }
        }