mirror of
https://github.com/postgres/postgres.git
synced 2025-05-13 01:13:08 -04:00
libpq: Error message improvement
Move a variable name out of the translatable message, to make it identical to others.
This commit is contained in:
parent
c44b59fad4
commit
27debd05dc
@ -1481,8 +1481,8 @@ connectOptions2(PGconn *conn)
|
|||||||
&& strcmp(conn->sslrootcert, "system") == 0)
|
&& strcmp(conn->sslrootcert, "system") == 0)
|
||||||
{
|
{
|
||||||
conn->status = CONNECTION_BAD;
|
conn->status = CONNECTION_BAD;
|
||||||
libpq_append_conn_error(conn, "sslrootcert value \"%s\" invalid when SSL support is not compiled in",
|
libpq_append_conn_error(conn, "%s value \"%s\" invalid when SSL support is not compiled in",
|
||||||
conn->sslrootcert);
|
"sslrootcert", conn->sslrootcert);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user