Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 27debd0

Browse files
committed
libpq: Error message improvement
Move a variable name out of the translatable message, to make it identical to others.
1 parent c44b59f commit 27debd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interfaces/libpq/fe-connect.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1481,8 +1481,8 @@ connectOptions2(PGconn *conn)
14811481
&& strcmp(conn->sslrootcert, "system") == 0)
14821482
{
14831483
conn->status = CONNECTION_BAD;
1484-
libpq_append_conn_error(conn, "sslrootcert value \"%s\" invalid when SSL support is not compiled in",
1485-
conn->sslrootcert);
1484+
libpq_append_conn_error(conn, "%s value \"%s\" invalid when SSL support is not compiled in",
1485+
"sslrootcert", conn->sslrootcert);
14861486
return false;
14871487
}
14881488
#endif

0 commit comments

Comments
 (0)