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: 7fae436)
I don't know whether this breaks what the previous person tried to
1997年3月25日 00:54:15 +0000 (00:54 +0000)
1997年3月25日 00:54:15 +0000 (00:54 +0000)
fix, but figure I"ll know soon enough, eh?

Patch submitted by Dan McGuirk


diff --git a/src/backend/libpq/auth.c b/src/backend/libpq/auth.c
index 8864f8233e89db566ca944cc878dd59d916b28f5..b191c03cbfff27747a81626cb47c81b66e6b687a 100644 (file)
--- a/src/backend/libpq/auth.c
+++ b/src/backend/libpq/auth.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.10 1997年03月18日 21:46:31 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.11 1997年03月25日 00:54:15 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -438,14 +438,13 @@ be_recvauth(MsgType msgtype_arg, Port *port, char *username, StartupInfo* sp)
what used to be the only choice, but installation may choose "hba"
instead.
*/
- if (msgtype_arg != STARTUP_KRB4_MSG && msgtype_arg != STARTUP_KRB5_MSG) {
- if (msgtype_arg == STARTUP_MSG && useHostBasedAuth)
- msgtype = STARTUP_HBA_MSG;
- else
- msgtype = STARTUP_UNAUTH_MSG;
- } else {
- msgtype = msgtype_arg;
- }
+ if (msgtype_arg == STARTUP_MSG) {
+ if(useHostBasedAuth)
+ msgtype = STARTUP_HBA_MSG;
+ else
+ msgtype = STARTUP_UNAUTH_MSG;
+ } else
+ msgtype = msgtype_arg;
if (!username) {
This is the main PostgreSQL git repository.
RSS Atom

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