From c74d586d2fc8aeaa303d8c60a8a9d959fdc5e791 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 15 Apr 2013 22:33:24 -0400 Subject: [PATCH] Fix function return type confusion When parse_hba_line's return type was changed from bool to a pointer, the MANDATORY_AUTH_ARG macro wasn't adjusted. --- src/backend/libpq/hba.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/libpq/hba.c b/src/backend/libpq/hba.c index e138bb9173..5b60d1c3c5 100644 --- a/src/backend/libpq/hba.c +++ b/src/backend/libpq/hba.c @@ -790,7 +790,7 @@ check_same_host_or_net(SockAddr *raddr, IPCompareMethod method) authname, argname), \ errcontext("line %d of configuration file \"%s\"", \ line_num, HbaFileName))); \ - return false; \ + return NULL; \ } \ } while (0); -- 2.40.0