aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mate/mate_setup.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2008-05-11 18:33:49 +0000
committerBill Meier <wmeier@newsguy.com>2008-05-11 18:33:49 +0000
commitfe5c2d98205e726a049ae1c5f2ac5013c6bda60b (patch)
tree2c5118a7646e1fa773f2a668ffa4cae5cedb3c5d /plugins/mate/mate_setup.c
parent319f71c537bf55a7cdfe0ea51d1909ad24c6491b (diff)
g_string_sprintf --> g_string_printf and g_string_sprintfa --> g_string_append_printf
svn path=/trunk/; revision=25276
Diffstat (limited to 'plugins/mate/mate_setup.c')
-rw-r--r--plugins/mate/mate_setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mate/mate_setup.c b/plugins/mate/mate_setup.c
index c496aea40d..4d999f8f39 100644
--- a/plugins/mate/mate_setup.c
+++ b/plugins/mate/mate_setup.c
@@ -203,7 +203,7 @@ extern gchar* add_ranges(gchar* range,GPtrArray* range_ptr_arr) {
hfidp = g_malloc(sizeof(int));
*hfidp = hfi->id;
g_ptr_array_add(range_ptr_arr,(gpointer)hfidp);
- g_string_sprintfa(matecfg->fields_filter, "||%s",ranges[i]);
+ g_string_append_printf(matecfg->fields_filter, "||%s",ranges[i]);
} else {
g_strfreev(ranges);
return g_strdup_printf("no such proto: '%s'",ranges[i]);;
@@ -249,7 +249,7 @@ static void analyze_pdu_hfids(gpointer k, gpointer v, gpointer p) {
mate_cfg_pdu* cfg = p;
new_attr_hfri(cfg->name,cfg->my_hfids,(gchar*) v);
- g_string_sprintfa(matecfg->fields_filter,"||%s",my_protoname(*(int*)k));
+ g_string_append_printf(matecfg->fields_filter,"||%s",my_protoname(*(int*)k));
}
static void analyze_transform_hfrs(gchar* name, GPtrArray* transforms, GHashTable* hfids) {