diff options
author | Daniel Gustafsson <dgustafsson@postgresql.org> | 2024-04-19 09:58:00 +0200 |
---|---|---|
committer | Daniel Gustafsson <dgustafsson@postgresql.org> | 2024-04-19 09:58:00 +0200 |
commit | 9c58bf1507bee00b8cda837a232401fec21e6873 (patch) | |
tree | deaba86c12ac3475e31602ea172fd4d6d6e82a7b /src | |
parent | 84db9a0eb10dd1dbee6db509c0e427fa237177dc (diff) | |
download | postgresql-9c58bf1507bee00b8cda837a232401fec21e6873.tar.gz postgresql-9c58bf1507bee00b8cda837a232401fec21e6873.zip |
Fix incorrect parameter name in prototype
The function declaration for select_next_encryption_method use the
variable name have_valid_connection, so fix the prototype in the
header to match that.
Reported-by: Alexander Lakhin <exclusion@gmail.com>
Discussion: https://postgr.es/m/3F577953-A29E-4722-98AD-2DA9EFF2CBB8@yesql.se
Diffstat (limited to 'src')
-rw-r--r-- | src/interfaces/libpq/fe-connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c index 9db1700ffb4..ec20e3f3a90 100644 --- a/src/interfaces/libpq/fe-connect.c +++ b/src/interfaces/libpq/fe-connect.c @@ -397,7 +397,7 @@ static bool init_allowed_encryption_methods(PGconn *conn); static int encryption_negotiation_failed(PGconn *conn); #endif static bool connection_failed(PGconn *conn); -static bool select_next_encryption_method(PGconn *conn, bool negotiation_failure); +static bool select_next_encryption_method(PGconn *conn, bool have_valid_connection); static PGPing internal_ping(PGconn *conn); static void pqFreeCommandQueue(PGcmdQueueEntry *queue); static bool fillPGconn(PGconn *conn, PQconninfoOption *connOptions); |