From 3243f40bb2538277f9770ab3b8e531bd91f94021 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 05 Oct 2017 17:30:58 -0400 Subject: src/config.c: Set string lists as strings --- (limited to 'src/config.c') 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) -- cgit v0.9.1