Skip to content

Commit 9c58bf1

Browse files
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
1 parent 84db9a0 commit 9c58bf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interfaces/libpq/fe-connect.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ static bool init_allowed_encryption_methods(PGconn *conn);
397397
static int encryption_negotiation_failed(PGconn *conn);
398398
#endif
399399
static bool connection_failed(PGconn *conn);
400-
static bool select_next_encryption_method(PGconn *conn, bool negotiation_failure);
400+
static bool select_next_encryption_method(PGconn *conn, bool have_valid_connection);
401401
static PGPing internal_ping(PGconn *conn);
402402
static void pqFreeCommandQueue(PGcmdQueueEntry *queue);
403403
static bool fillPGconn(PGconn *conn, PQconninfoOption *connOptions);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy