Skip to content

Commit 866490a

Browse files
committed
Fix compilation with --with-bsd-auth.
Commit 8d3b9cc 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
1 parent f4205c4 commit 866490a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/libpq/auth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2262,7 +2262,7 @@ CheckBSDAuth(Port *port, char *user)
22622262
int retval;
22632263

22642264
/* Send regular password request to client, and get the response */
2265-
sendAuthRequest(port, AUTH_REQ_PASSWORD);
2265+
sendAuthRequest(port, AUTH_REQ_PASSWORD, NULL, 0);
22662266

22672267
passwd = recv_password_packet(port);
22682268
if (passwd == NULL)

0 commit comments

Comments
 (0)