Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9c58bf1

Browse files
Fix incorrect parameter name in prototype
The function declaration for select_next_encryption_method use thevariable name have_valid_connection, so fix the prototype in theheader to match that.Reported-by: Alexander Lakhin <exclusion@gmail.com>Discussion:https://postgr.es/m/3F577953-A29E-4722-98AD-2DA9EFF2CBB8@yesql.se
1 parent84db9a0 commit9c58bf1

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
staticintencryption_negotiation_failed(PGconn*conn);
398398
#endif
399399
staticboolconnection_failed(PGconn*conn);
400-
staticboolselect_next_encryption_method(PGconn*conn,boolnegotiation_failure);
400+
staticboolselect_next_encryption_method(PGconn*conn,boolhave_valid_connection);
401401
staticPGPinginternal_ping(PGconn*conn);
402402
staticvoidpqFreeCommandQueue(PGcmdQueueEntry*queue);
403403
staticboolfillPGconn(PGconn*conn,PQconninfoOption*connOptions);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp