aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-connect.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-10-18 21:44:23 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-10-18 21:44:23 -0400
commite331c60ea727f998eb1023e8a2c468692d10032e (patch)
tree0fa376584d4b3e981b467e5a07ef9b7f5df99218 /src/interfaces/libpq/fe-connect.c
parentaa90e148ca70a235897b1227f1a7cd1c66bc5368 (diff)
downloadpostgresql-e331c60ea727f998eb1023e8a2c468692d10032e.tar.gz
postgresql-e331c60ea727f998eb1023e8a2c468692d10032e.zip
Suppress remaining -Waddress warnings from recent gcc versions.
Still an exercise in satisfying pedants.
Diffstat (limited to 'src/interfaces/libpq/fe-connect.c')
-rw-r--r--src/interfaces/libpq/fe-connect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c
index 64eeebacfee..ed9dce941e1 100644
--- a/src/interfaces/libpq/fe-connect.c
+++ b/src/interfaces/libpq/fe-connect.c
@@ -829,7 +829,7 @@ PQconndefaults(void)
PQconninfoOption *connOptions;
initPQExpBuffer(&errorBuf);
- if (PQExpBufferBroken(&errorBuf))
+ if (PQExpBufferDataBroken(errorBuf))
return NULL; /* out of memory already :-( */
connOptions = conninfo_parse("", &errorBuf, true);
termPQExpBuffer(&errorBuf);
@@ -3967,7 +3967,7 @@ PQconninfoParse(const char *conninfo, char **errmsg)
if (errmsg)
*errmsg = NULL; /* default */
initPQExpBuffer(&errorBuf);
- if (PQExpBufferBroken(&errorBuf))
+ if (PQExpBufferDataBroken(errorBuf))
return NULL; /* out of memory already :-( */
connOptions = conninfo_parse(conninfo, &errorBuf, false);
if (connOptions == NULL && errmsg)