]> granicus.if.org Git - postgresql/commitdiff
Fix function return type confusion
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 16 Apr 2013 02:33:24 +0000 (22:33 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 16 Apr 2013 02:38:08 +0000 (22:38 -0400)
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

index e138bb9173fbda98eb6a424211744a48b5b1fd2c..5b60d1c3c535ec1f9c51c64331277627ca2a25a3 100644 (file)
@@ -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);