]> granicus.if.org Git - pgbouncer/commitdiff
hba: call next_token after parsing filename (#209)
authorMarko Kreen <markokr@gmail.com>
Wed, 28 Jun 2017 14:50:50 +0000 (17:50 +0300)
committerMarko Kreen <markokr@gmail.com>
Wed, 28 Jun 2017 14:51:12 +0000 (17:51 +0300)
src/hba.c

index e642cfa677900b447a4d31969160380ec0cc6a93..70d38eeb82abcef367b5fd2bd91da04514ab5f95 100644 (file)
--- a/src/hba.c
+++ b/src/hba.c
@@ -417,6 +417,7 @@ static bool parse_names(struct HBAName *hname, struct TokParser *tp, bool is_db,
                                free(fn);
                                if (!ok)
                                        return false;
+                               next_token(tp);
                                goto eat_comma;
                        }
                        /* fallthrough */