From: Florent Bruneau Date: Sun, 5 Oct 2008 21:33:56 +0000 (+0200) Subject: Don't reconfig after each query after a manual reload. X-Git-Url: http://git.madism.org/?a=commitdiff_plain;h=d55fa4e011ac7d3cfc6348cea4e06f1a8c807613;p=apps%2Fpfixtools.git Don't reconfig after each query after a manual reload. Signed-off-by: Florent Bruneau --- diff --git a/common/server.c b/common/server.c index 9f0681b..ea1df31 100644 --- a/common/server.c +++ b/common/server.c @@ -141,6 +141,7 @@ int server_loop(start_client_t starter, delete_client_t deleter, int n; if (sighup && refresh) { + sighup = false; if (!refresh(config)) { crit("error while refreshing configuration"); return EXIT_FAILURE;