summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeikki Linnakangas2017-05-19 09:21:55 +0000
committerHeikki Linnakangas2017-05-19 09:21:55 +0000
commit866490a6b72c625c29ced23065d367a1b0484760 (patch)
treea3a9140e454e33a077b268229529793ad2ceb32b
parentf4205c4c1fcfc88d0c3885c160f24873bcbcc04d (diff)
Fix compilation with --with-bsd-auth.
Commit 8d3b9cce81 added extra arguments to the sendAuthRequest function, but neglected this caller inside #ifdef USE_BSD_AUTH. Per report from Pierre-Emmanuel AndrĂ©. Discussion: https://www.postgresql.org/message-id/[email protected]
-rw-r--r--src/backend/libpq/auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/libpq/auth.c b/src/backend/libpq/auth.c
index f36d7b9b6d..c895ba0c32 100644
--- a/src/backend/libpq/auth.c
+++ b/src/backend/libpq/auth.c
@@ -2262,7 +2262,7 @@ CheckBSDAuth(Port *port, char *user)
int retval;
/* Send regular password request to client, and get the response */
- sendAuthRequest(port, AUTH_REQ_PASSWORD);
+ sendAuthRequest(port, AUTH_REQ_PASSWORD, NULL, 0);
passwd = recv_password_packet(port);
if (passwd == NULL)