Content-Length: 261163 | pFad | http://github.com/postgrespro/postgres/commit/9c58bf1507bee00b8cda837a232401fec21e6873

23 Fix incorrect parameter name in prototype · postgrespro/postgres@9c58bf1 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/9c58bf1507bee00b8cda837a232401fec21e6873

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy