git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d788121)
Fix function return type confusion
2013年4月16日 02:33:24 +0000 (22:33 -0400)
2013年4月16日 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.


diff --git a/src/backend/libpq/hba.c b/src/backend/libpq/hba.c
index e138bb9173fbda98eb6a424211744a48b5b1fd2c..5b60d1c3c535ec1f9c51c64331277627ca2a25a3 100644 (file)
--- 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);
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /