aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-auth.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2000-02-07 23:10:11 +0000
committerPeter Eisentraut <peter_e@gmx.net>2000-02-07 23:10:11 +0000
commit9ceb5d8a7bfc4a6315f37913afb5f3d6cefa651f (patch)
treecfe54170ff754e064955bb00be586a5b26ab7db3 /src/interfaces/libpq/fe-auth.c
parent4842ef86247a323de9ec25e799d756c320222fe0 (diff)
downloadpostgresql-9ceb5d8a7bfc4a6315f37913afb5f3d6cefa651f.tar.gz
postgresql-9ceb5d8a7bfc4a6315f37913afb5f3d6cefa651f.zip
Fixed psql double quoting of SQL ids
Fixed libpq printing functions
Diffstat (limited to 'src/interfaces/libpq/fe-auth.c')
-rw-r--r--src/interfaces/libpq/fe-auth.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/interfaces/libpq/fe-auth.c b/src/interfaces/libpq/fe-auth.c
index 96589497d30..7a3bff45e92 100644
--- a/src/interfaces/libpq/fe-auth.c
+++ b/src/interfaces/libpq/fe-auth.c
@@ -10,7 +10,7 @@
* exceed INITIAL_EXPBUFFER_SIZE (currently 256 bytes).
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.36 2000/01/26 05:58:45 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.37 2000/02/07 23:10:08 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -474,6 +474,10 @@ int
fe_sendauth(AuthRequest areq, PGconn *conn, const char *hostname,
const char *password, char *PQerrormsg)
{
+#if !defined(KRB4) && !defined(KRB5)
+ (void)hostname; /*not used*/
+#endif
+
switch (areq)
{
case AUTH_REQ_OK: