Clean up calls to repmgr_atoi()

In some places we were still providing "false" from the original implementation,
which was intended to indicate whether a negative value was allowed.

This has not been a problem, as it merely means we have been providing "0",
which is the same thing; however we can finer-tune some of the calls
(e.g. node ID must be or greater).
This commit is contained in:
Ian Barwick
2019-01-30 11:43:43 +09:00
parent b6264b77c4
commit 70e4243a1d
3 changed files with 15 additions and 16 deletions

View File

@@ -58,7 +58,7 @@
#define NODE_NOT_FOUND -1
#define NO_UPSTREAM_NODE -1
#define UNKNOWN_NODE_ID -1
#define MIN_NODE_ID 1
#define VOTING_TERM_NOT_SET -1
#define BDR2_REPLICATION_SET_NAME "repmgr"