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

Commita0fe90e

Browse files
committed
libpq: Add missing gettext markers
Follow-up to87d2801: That commit restored some lost errormessages, but they ended up in a place where xgettext wouldn't findthem. Rather than elevating ENCRYPTION_NEGOTIATION_FAILED() to agettext trigger, it's easiest for now to put in some explicitlibpq_gettext() calls in the couple of call sites.
1 parentd112ea4 commita0fe90e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/interfaces/libpq/fe-connect.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3519,7 +3519,7 @@ PQconnectPoll(PGconn *conn)
35193519
* continue without SSL, we can proceed using this
35203520
* connection. Otherwise return with an error.
35213521
*/
3522-
ENCRYPTION_NEGOTIATION_FAILED("server does not support SSL, but SSL was required");
3522+
ENCRYPTION_NEGOTIATION_FAILED(libpq_gettext("server does not support SSL, but SSL was required"));
35233523
}
35243524
elseif (SSLok=='E')
35253525
{
@@ -3640,7 +3640,7 @@ PQconnectPoll(PGconn *conn)
36403640
* continue without GSS, we can proceed using this
36413641
* connection. Otherwise return with an error.
36423642
*/
3643-
ENCRYPTION_NEGOTIATION_FAILED("server doesn't support GSSAPI encryption, but it was required");
3643+
ENCRYPTION_NEGOTIATION_FAILED(libpq_gettext("server doesn't support GSSAPI encryption, but it was required"));
36443644
}
36453645
elseif (gss_ok!='G')
36463646
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp