Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+1-1
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)