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

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy