projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90a8b1f
)
libpq: add newlines to SSPI error messages
author
Bruce Momjian
<bruce@momjian.us>
Wed, 8 Apr 2015 14:28:47 +0000
(10:28 -0400)
committer
Bruce Momjian
<bruce@momjian.us>
Wed, 8 Apr 2015 14:28:47 +0000
(10:28 -0400)
Report by Tom Lane
src/interfaces/libpq/fe-auth.c
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/libpq/fe-auth.c
b/src/interfaces/libpq/fe-auth.c
index 8927df4f064a2d7fced76954c0c7207c91ae636b..08cc90601267b857c974d23cebb36cf4a2cc39e1 100644
(file)
--- a/
src/interfaces/libpq/fe-auth.c
+++ b/
src/interfaces/libpq/fe-auth.c
@@
-236,10
+236,10
@@
pg_SSPI_error(PGconn *conn, const char *mprefix, SECURITY_STATUS r)
if (FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM, NULL, r, 0,
sysmsg, sizeof(sysmsg), NULL) == 0)
- printfPQExpBuffer(&conn->errorMessage, "%s: SSPI error %x",
+ printfPQExpBuffer(&conn->errorMessage, "%s: SSPI error %x
\n
",
mprefix, (unsigned int) r);
else
- printfPQExpBuffer(&conn->errorMessage, "%s: %s (%x)",
+ printfPQExpBuffer(&conn->errorMessage, "%s: %s (%x)
\n
",
mprefix, sysmsg, (unsigned int) r);
}