diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2014-06-16 20:41:27 +0400 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2014-06-16 20:41:27 +0400 |
commit | 5aec348d39d5511e1baa9627c433e7d484ab3100 (patch) | |
tree | 40570ce3b9404198979a3a3360e17225555deee6 /accel-pppd | |
parent | 9d6ee6ee9dc3090ab694d47ec8347f255885c429 (diff) | |
download | accel-ppp-5aec348d39d5511e1baa9627c433e7d484ab3100.tar.gz accel-ppp-5aec348d39d5511e1baa9627c433e7d484ab3100.zip |
log_pgsql: update calls to new triton interface
Diffstat (limited to 'accel-pppd')
-rw-r--r-- | accel-pppd/logs/log_pgsql.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pppd/logs/log_pgsql.c b/accel-pppd/logs/log_pgsql.c index 0c2152e7..26c16c06 100644 --- a/accel-pppd/logs/log_pgsql.c +++ b/accel-pppd/logs/log_pgsql.c @@ -86,7 +86,7 @@ static void write_next_msg(void) sleeping = 1; spin_unlock(&queue_lock); if (need_close) { - triton_md_unregister_handler(&pgsql_hnd); + triton_md_unregister_handler(&pgsql_hnd, 0); PQfinish(conn); conn = NULL; triton_context_unregister(&pgsql_ctx); @@ -267,7 +267,7 @@ static void pgsql_close(struct triton_context_t *ctx) { spin_lock(&queue_lock); if (sleeping) { - triton_md_unregister_handler(&pgsql_hnd); + triton_md_unregister_handler(&pgsql_hnd, 0); PQfinish(conn); conn = NULL; triton_context_unregister(&pgsql_ctx); |