mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-24 23:56:29 +00:00
Fix some typos and replace the variable Inrecovery with
the function RecoveryInProgress() in the function sql_utils/repmgr_wrapper_funcs.c:last_xlog_replay_timestamp()
This commit is contained in:
2
config.c
2
config.c
@@ -31,7 +31,7 @@ parse_config(char *cluster_name, int *node, char *conninfo)
|
||||
|
||||
/* Copy into correct entry in parameters struct */
|
||||
if (strcmp(name, "cluster") == 0)
|
||||
*node = atoi(value);
|
||||
strncpy (cluster_name, value, MAXLEN);
|
||||
else if (strcmp(name, "node") == 0)
|
||||
*node = atoi(value);
|
||||
else if (strcmp(name, "conninfo") == 0)
|
||||
|
||||
Reference in New Issue
Block a user