Fix PQconninfoParse() return type check

This commit is contained in:
Ian Barwick
2016-06-05 10:20:42 +09:00
parent b6ebd34e2f
commit 005640be51

View File

@@ -538,7 +538,7 @@ get_conninfo_value(const char *conninfo, const char *keyword, char *output)
conninfo_options = PQconninfoParse(conninfo, NULL);
if (conninfo_options == false)
if (conninfo_options == NULL)
{
log_err(_("Unable to parse provided conninfo string \"%s\""), conninfo);
return false;