aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/account.c
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2016-04-12 13:23:07 +0200
committerMarius Halden <marius.h@lden.org>2016-05-07 14:31:03 +0200
commit6a75f2c17d647d4890406936f8c2b9a2b56b5a97 (patch)
tree767c3ea3c743f51040638fb0dc80045fc985ec3c /protocols/account.c
parent1ce076a9040e9637876832084438af566e025600 (diff)
Revert "Fix some errors created when changing set account to GSList"
This reverts commit d3e3c73a4b194e666fb3a5f59a0badf6eba292ff.
Diffstat (limited to 'protocols/account.c')
-rw-r--r--protocols/account.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/account.c b/protocols/account.c
index 4438ee36..6f6ad339 100644
--- a/protocols/account.c
+++ b/protocols/account.c
@@ -191,6 +191,7 @@ char *set_eval_account(set_t *set, char *value)
accounts = g_strsplit(saccount, ",", 0);
for (account = accounts; *account; account++) {
if (g_strcasecmp(*account, old) == 0) {
+ fprintf(stderr, "Found\n");
found = TRUE;
g_free(*account);
*account = g_strdup(value);
@@ -202,6 +203,7 @@ char *set_eval_account(set_t *set, char *value)
saccount = g_strjoinv(",", accounts);
g_strfreev(accounts);
+ fprintf(stderr, "%s\n", saccount);
set_setstr(&ic->set, "account", saccount);
g_free(saccount);