From 5b673efa121320d1575e126243fa2c7ec460952d Mon Sep 17 00:00:00 2001 From: Haru Date: Tue, 16 Feb 2016 13:31:41 +0100 Subject: Renamed config->read_file to config->load_file - The return value is now consistent with the libconfig standard (CONFIG_TRUE/CONFIG_FALSE). - Removed some redundant error messages. Signed-off-by: Haru --- src/map/channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/channel.c') diff --git a/src/map/channel.c b/src/map/channel.c index d778b355d..c1b28fd84 100644 --- a/src/map/channel.c +++ b/src/map/channel.c @@ -593,7 +593,7 @@ void read_channels_config(void) config_setting_t *chsys = NULL; const char *config_filename = "conf/channels.conf"; // FIXME hardcoded name - if (libconfig->read_file(&channels_conf, config_filename)) + if (!libconfig->load_file(&channels_conf, config_filename)) return; chsys = libconfig->lookup(&channels_conf, "chsys"); -- cgit v1.2.3-60-g2f50