1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-18 17:42:25 +03: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:
Alvaro Herrera
2023-05-16 11:50:08 +02:00
parent c44b59fad4
commit 27debd05dc

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