From deecc72f6a96153d93dccd547177676bc878a3f3 Mon Sep 17 00:00:00 2001 From: Kozlov Dmitry Date: Mon, 6 Dec 2010 17:33:09 +0300 Subject: switch logs on contexts which dosn't handles ppp too so potential race conditions may be arised --- accel-pptpd/logs/log_pgsql.c | 1 + 1 file changed, 1 insertion(+) (limited to 'accel-pptpd/logs/log_pgsql.c') diff --git a/accel-pptpd/logs/log_pgsql.c b/accel-pptpd/logs/log_pgsql.c index 99a0e82..fcaa193 100644 --- a/accel-pptpd/logs/log_pgsql.c +++ b/accel-pptpd/logs/log_pgsql.c @@ -23,6 +23,7 @@ static void pgsql_close(struct triton_context_t *ctx); static struct triton_context_t pgsql_ctx = { .close = pgsql_close, + .before_switch = log_switch, }; static struct triton_md_handler_t pgsql_hnd; static struct triton_timer_t connect_timer = { -- cgit v1.2.3