diff options
author | Marc G. Fournier <scrappy@hub.org> | 1998-01-29 03:24:36 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1998-01-29 03:24:36 +0000 |
commit | 8e789e8ef16968bc04a6c1bf57a6a9cd4ed945b3 (patch) | |
tree | 5e58a6a81e65baca538503b40c9bce6a7b5ac0b7 /src/interfaces/libpq/fe-auth.c | |
parent | 2780576e36bfe0a2263123b520f248ee4fcaa4fd (diff) |
From: Phil Thompson <phil@river-bank.demon.co.uk>
Attached is the patch to fix the warning messages from my code. I also
fixed one which wasn't my code. Apart from the usual warnings about the
bison/yacc generated code I only have one other warning message. This
is in gramm.y around line 2234. I wasn't sure of the fix.
I've also replaced all the calls to free() in gramm.y to calls to
pfree(). Without these I was getting backend crashes with GRANT. This
might already have been fixed.
Diffstat (limited to 'src/interfaces/libpq/fe-auth.c')
-rw-r--r-- | src/interfaces/libpq/fe-auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq/fe-auth.c b/src/interfaces/libpq/fe-auth.c index 7f25afcb38e..7f77589a6b9 100644 --- a/src/interfaces/libpq/fe-auth.c +++ b/src/interfaces/libpq/fe-auth.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.13 1998/01/26 01:42:25 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.14 1998/01/29 03:24:03 scrappy Exp $ * *------------------------------------------------------------------------- */ @@ -477,7 +477,7 @@ pg_password_sendauth(PGconn *conn, const char *password, AuthRequest areq) */ int fe_sendauth(AuthRequest areq, PGconn *conn, const char *hostname, - const char *password, const char *PQerrormsg) + const char *password, char *PQerrormsg) { switch (areq) { |