Content-Length: 283352 | pFad | http://github.com/postgrespro/postgres/commit/7dd777938bbeae8113f73849920a5b19bef723d9

54 Add missing newlines in error messages · postgrespro/postgres@7dd7779 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/7dd777938bbeae8113f73849920a5b19bef723d9

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy