Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c74d586

Browse files
committed
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.
1 parent d788121 commit c74d586

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/libpq/hba.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@ check_same_host_or_net(SockAddr *raddr, IPCompareMethod method)
790790
authname, argname), \
791791
errcontext("line %d of configuration file \"%s\"", \
792792
line_num, HbaFileName))); \
793-
return false; \
793+
return NULL; \
794794
} \
795795
} while (0);
796796

0 commit comments

Comments
 (0)