aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2017-05-19 12:21:55 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2017-05-19 12:21:55 +0300
commit866490a6b72c625c29ced23065d367a1b0484760 (patch)
treea3a9140e454e33a077b268229529793ad2ceb32b /src/backend
parentf4205c4c1fcfc88d0c3885c160f24873bcbcc04d (diff)
downloadpostgresql-866490a6b72c625c29ced23065d367a1b0484760.tar.gz
postgresql-866490a6b72c625c29ced23065d367a1b0484760.zip
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/20170519090336.whzmjzrsap6ktbgg@digipea.digitick.local
Diffstat (limited to 'src/backend')
-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 f36d7b9b6da..c895ba0c326 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)