projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d788121
)
Fix function return type confusion
author
Peter Eisentraut
Tue, 16 Apr 2013 02:33:24 +0000
(22:33 -0400)
committer
Peter Eisentraut
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
patch
|
blob
|
blame
|
history
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);