summaryrefslogtreecommitdiffstats
path: root/src/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c
index 96c193c..85487c0 100644
--- a/src/config.c
+++ b/src/config.c
@@ -101,7 +101,7 @@ set_type_or_run_callbacks(MqConfig *config, const gchar *name, gpointer value,
#define SET_INT( NAME, VALUE) mq_config_set_integer(config, NAME, VALUE)
#define SET_DBL( NAME, VALUE) mq_config_set_double (config, NAME, VALUE)
#define SET_STR( NAME, VALUE) mq_config_set_string (config, NAME, VALUE)
-#define SET_STRL(NAME, VALUE) do { *NAME = *NAME; *VALUE = *VALUE; } while (0)
+#define SET_STRL(NAME, VALUE) mq_config_set_string (config, NAME, VALUE)
static void
set_defaults(MqConfig *config)