From: Marko Kreen Date: Wed, 30 Mar 2011 07:28:12 +0000 (+0300) Subject: Fix copy-paste error in last autodb fix. X-Git-Tag: pgbouncer_1_4_1~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2ba45824d1806f49a9f8034b13271d714f40c64d;p=pgbouncer Fix copy-paste error in last autodb fix. --- diff --git a/src/janitor.c b/src/janitor.c index ea964fa..327e392 100644 --- a/src/janitor.c +++ b/src/janitor.c @@ -550,8 +550,8 @@ static void do_full_maint(int sock, short flags, void *arg) if (db->active_stamp == seq) continue; db->inactive_time = get_cached_time(); - statlist_remove(&database_list, &pool->db->head); - statlist_append(&autodatabase_idle_list, &pool->db->head); + statlist_remove(&database_list, &db->head); + statlist_append(&autodatabase_idle_list, &db->head); } }