Skip to content

Commit 7dd7779

Browse files
committed
Add missing newlines in error messages
1 parent 9dc7251 commit 7dd7779

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/interfaces/libpq/fe-connect.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1333,7 +1333,7 @@ connectOptions2(PGconn *conn)
13331333
{
13341334
conn->status = CONNECTION_BAD;
13351335
printfPQExpBuffer(&conn->errorMessage,
1336-
libpq_gettext("invalid SSL protocol version range"));
1336+
libpq_gettext("invalid SSL protocol version range\n"));
13371337
return false;
13381338
}
13391339

src/interfaces/libpq/fe-secure-openssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1675,7 +1675,7 @@ PQdefaultSSLKeyPassHook(char *buf, int size, PGconn *conn)
16751675
if (conn->sslpassword)
16761676
{
16771677
if (strlen(conn->sslpassword) + 1 > size)
1678-
fprintf(stderr, libpq_gettext("WARNING: sslpassword truncated"));
1678+
fprintf(stderr, libpq_gettext("WARNING: sslpassword truncated\n"));
16791679
strncpy(buf, conn->sslpassword, size);
16801680
buf[size-1] = '\0';
16811681
return strlen(buf);

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