summaryrefslogtreecommitdiffhomepage
path: root/src/main.h
diff options
context:
space:
mode:
authorrofl0r <rofl0r@users.noreply.github.com>2020-01-15 16:35:43 +0000
committerrofl0r <rofl0r@users.noreply.github.com>2020-01-15 16:35:43 +0000
commit27d96df99900c5a62ab0fdf2a37565e78f256d6a (patch)
treeeddbf6e75b8d48eaf1941ab02cf6e9c94bd905be /src/main.h
parentc63d5d26b47b44d70af54aa31f811e4815fe4ad9 (diff)
remove duplicate code calling reload_config_file()
as a side effect of not updating the config pointer when loading the config file fails, the "FIXME" level comment to take appropriate action in that case has been removed. the only issue remaining when receiving a SIGHUP and encountering a malformed config file would now be the case that output to syslog/logfile won't be resumed, if initially so configured.
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h
index 5890d4a..d19a2f6 100644
--- a/src/main.h
+++ b/src/main.h
@@ -32,6 +32,6 @@
extern struct config_s *config;
extern unsigned int received_sighup; /* boolean */
-extern int reload_config (void);
+extern int reload_config (int reload_logging);
#endif /* __MAIN_H__ */