Commit ca66b237 authored by Bruce Momjian's avatar Bruce Momjian

Fix SO_PEERCRED printf bug added with SCM_CREDS cleanup.

parent fe786448
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.65 2001/08/21 00:33:27 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.66 2001/08/21 14:48:19 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -892,7 +892,7 @@ ident_unix(int sock, char *ident_user) ...@@ -892,7 +892,7 @@ ident_unix(int sock, char *ident_user)
if (pass == NULL) if (pass == NULL)
{ {
snprintf(PQerrormsg, PQERRORMSG_LENGTH, snprintf(PQerrormsg, PQERRORMSG_LENGTH,
"ident_unix: unknown local user with uid %d\n", "ident_unix: unknown local user with uid %d\n", peercred.uid);
fputs(PQerrormsg, stderr); fputs(PQerrormsg, stderr);
pqdebug("%s", PQerrormsg); pqdebug("%s", PQerrormsg);
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment