mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Clarify intent
This commit is contained in:
5
repmgr.c
5
repmgr.c
@@ -352,7 +352,10 @@ main(int argc, char **argv)
|
||||
strncpy(runtime_options.dbname, DEFAULT_DBNAME, MAXLEN);
|
||||
}
|
||||
|
||||
/* We check that port number is not null */
|
||||
/*
|
||||
* If no primary port (-p, --port) provided, explicitly set the
|
||||
* default PostgreSQL port.
|
||||
*/
|
||||
if (!runtime_options.masterport[0])
|
||||
{
|
||||
strncpy(runtime_options.masterport, DEFAULT_MASTER_PORT, MAXLEN);
|
||||
|
||||
Reference in New Issue
Block a user