summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/channels.c2
-rw-r--r--src/core/levels.c2
-rw-r--r--src/core/session.c2
-rw-r--r--src/core/settings.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/core/channels.c b/src/core/channels.c
index 04c36744..907d363b 100644
--- a/src/core/channels.c
+++ b/src/core/channels.c
@@ -206,7 +206,7 @@ static void event_connected(SERVER_REC *server)
/* check that we haven't already joined this channel in
same chat network connection.. */
if (channel_find_servers(chatnet_servers, rec->name) == NULL)
- g_string_sprintfa(chans, "%s,", rec->name);
+ g_string_append_printf(chans, "%s,", rec->name);
}
g_slist_free(chatnet_servers);
diff --git a/src/core/levels.c b/src/core/levels.c
index 4345d4b6..73743352 100644
--- a/src/core/levels.c
+++ b/src/core/levels.c
@@ -137,7 +137,7 @@ char *bits2level(int bits)
for (n = 0; levels[n] != NULL; n++) {
if (bits & (1L << n))
- g_string_sprintfa(str, "%s ", levels[n]);
+ g_string_append_printf(str, "%s ", levels[n]);
}
if (str->len > 0)
g_string_truncate(str, str->len-1);
diff --git a/src/core/session.c b/src/core/session.c
index 5eb5270b..96a809ff 100644
--- a/src/core/session.c
+++ b/src/core/session.c
@@ -284,7 +284,7 @@ static void sig_session_save(CONFIG_REC *config)
/* save pids */
str = g_string_new(NULL);
for (tmp = pidwait_get_pids(); tmp != NULL; tmp = tmp->next)
- g_string_sprintfa(str, "%d ", GPOINTER_TO_INT(tmp->data));
+ g_string_append_printf(str, "%d ", GPOINTER_TO_INT(tmp->data));
config_node_set_str(config, config->mainnode, "pids", str->str);
g_string_free(str, TRUE);
}
diff --git a/src/core/settings.c b/src/core/settings.c
index f6467744..902d4cf6 100644
--- a/src/core/settings.c
+++ b/src/core/settings.c
@@ -515,7 +515,7 @@ void settings_check_module(const char *module)
continue;
if (set == NULL || strcmp(set->module, module) != 0) {
- g_string_sprintfa(errors, " %s", node->key);
+ g_string_append_printf(errors, " %s", node->key);
count++;
}
}