mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Fix pointer usage
This commit is contained in:
@@ -1451,7 +1451,7 @@ get_superuser_connection(PGconn **conn, PGconn **superuser_conn, PGconn **privil
|
||||
bool is_superuser;
|
||||
|
||||
/* this should never happen */
|
||||
if (PQstatus(conn) != CONNECTION_OK)
|
||||
if (PQstatus(*conn) != CONNECTION_OK)
|
||||
{
|
||||
log_error(_("no database connection available"));
|
||||
exit(ERR_INTERNAL);
|
||||
|
||||
Reference in New Issue
Block a user