From 20e5177245bf717cc04d3aeb9ca383f03c6db8fc Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 4 Jun 2013 14:33:31 +0200 Subject: gssproxy: Call gp_logging_init() before load_config(). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This makes sure openlog() is called before any syslog() call. Signed-off-by: Günther Deschner --- proxy/src/gssproxy.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'proxy/src/gssproxy.c') diff --git a/proxy/src/gssproxy.c b/proxy/src/gssproxy.c index 1fca922..c21be7b 100644 --- a/proxy/src/gssproxy.c +++ b/proxy/src/gssproxy.c @@ -90,6 +90,8 @@ int main(int argc, const char *argv[]) opt_daemon = 2; } + gp_logging_init(); + gpctx = calloc(1, sizeof(struct gssproxy_ctx)); gpctx->config = read_config(opt_config_file, opt_daemon); -- cgit