From 8e789e8ef16968bc04a6c1bf57a6a9cd4ed945b3 Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Thu, 29 Jan 1998 03:24:36 +0000 Subject: From: Phil Thompson 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. --- src/interfaces/libpq/fe-auth.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/interfaces/libpq/fe-auth.h') diff --git a/src/interfaces/libpq/fe-auth.h b/src/interfaces/libpq/fe-auth.h index e4676fcd97..ebbca5dfb3 100644 --- a/src/interfaces/libpq/fe-auth.h +++ b/src/interfaces/libpq/fe-auth.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: fe-auth.h,v 1.7 1998/01/26 01:42:26 scrappy Exp $ + * $Id: fe-auth.h,v 1.8 1998/01/29 03:24:21 scrappy Exp $ * *------------------------------------------------------------------------- */ @@ -33,7 +33,7 @@ extern int fe_sendauth(AuthRequest areq, PGconn *conn, const char *hostname, - const char *password, const char *PQerromsg); + const char *password, char *PQerromsg); extern void fe_setauthsvc(const char *name, char *PQerrormsg); #define PG_KRB4_VERSION "PGVER4.1" /* at most KRB_SENDAUTH_VLEN chars */ -- cgit v1.2.1