Fix variable assignment thinko in hba.c
authorMichael Paquier <michael@paquier.xyz>
Wed, 26 Oct 2022 03:57:40 +0000 (12:57 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 26 Oct 2022 03:57:40 +0000 (12:57 +0900)
commit37d264478ab47e8fa03751c39ba2c5dd447b89c8
tree433b0ee656217d2dc15083937c39ec7e8eae87b8
parent1b73d0b1c3934f703d68031957d37c2a9765e798
Fix variable assignment thinko in hba.c

The intention behind 1b73d0b was to limit the use of TokenizedAuthLine,
but I have fat-fingered one location in parse_hba_line() when creating
the HbaLine, where this should use the local variable and not the value
coming from TokenizedAuthLine.  This logic is the exactly the same, but
let's be clean about all that on consistency grounds.

Reported-by: Julien Rouhaud
Discussion: https://postgr.es/m/20221026032730.k3sib5krgm7l6njk@jrouhaud
src/backend/libpq/hba.c