GSS warnings - Mailing list pgsql-patches

From Kris Jurka
Subject GSS warnings
Date
Msg-id Pine.BSO.4.64.0709050545330.27200@leary.csoft.net
Whole thread Raw
Responses Re: GSS warnings  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
The attached patch fixes the following warnings in src/backend/libpq

auth.c:496: warning: passing argument 2 of 'gss_release_cred' from
incompatible pointer type
pqcomm.c:182: warning: passing argument 2 of 'gss_delete_sec_context' from
incompatible pointer type
pqcomm.c:185: warning: passing argument 2 of 'gss_release_cred' from
incompatible pointer type

Parts of the GSS API want the object while others want pointers to the
object and it looks like this code got it backwards.  I haven't tested
these changes, but they look right to me.

Kris Jurka

Attachment

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Lazy xid assignment V4
Next
From: "Heikki Linnakangas"
Date:
Subject: Re: Lazy xid assignment V4