libpq: Error message improvement

Move a variable name out of the translatable message, to make it
identical to others.
This commit is contained in:
Alvaro Herrera 2023-05-16 11:50:08 +02:00
parent c44b59fad4
commit 27debd05dc
No known key found for this signature in database
GPG Key ID: 1C20ACB9D5C564AE

View File

@ -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