]> granicus.if.org Git - postgresql/commit
Fix check for empty hostname.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 10 Jul 2017 12:29:36 +0000 (15:29 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 10 Jul 2017 12:29:36 +0000 (15:29 +0300)
commit4d06f1f858d0fea01a2cde74d8b831a823776355
treede0a07bfb288fb330a62ee11d572b1ee654ae526
parent1add0b15f117769f619af12720bea2f73d4f7359
Fix check for empty hostname.

As reported by Arthur Zakirov, Gcc 7.1 complained about this with
-Wpointer-compare.

Discussion: https://www.postgresql.org/message-id/CAKNkYnybV_NFVacGbW=VspzAo3TwRJFNi+9iBob66YqQMZopwg@mail.gmail.com
src/interfaces/libpq/fe-connect.c