From 05e8690fb0531607b0da48bb1cc3d792a96a50e3 Mon Sep 17 00:00:00 2001 From: William Brawner Date: Sat, 11 Jan 2020 15:30:24 -0700 Subject: [PATCH] Add missing return statement to pihelper_read_config Signed-off-by: William Brawner --- src/pihelper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pihelper.c b/src/pihelper.c index ff18382..928c862 100644 --- a/src/pihelper.c +++ b/src/pihelper.c @@ -54,7 +54,7 @@ void pihelper_config_set_api_key(pihole_config * config, char * api_key) { } pihole_config * pihelper_read_config(char * config_path) { - read_config(config_path); + return read_config(config_path); } int pihelper_save_config(pihole_config * config, char * config_path) {