diff --git a/repmgr.c b/repmgr.c index 1d9ca5e6..95db7ec4 100644 --- a/repmgr.c +++ b/repmgr.c @@ -2632,6 +2632,7 @@ get_tablespace_data_barman return SUCCESS; } + void get_barman_property(char *dst, char *name, char *local_repmgr_directory) { @@ -5858,7 +5859,8 @@ do_standby_restore_config(void) exit(ERR_BAD_CONFIG); } - while ((arcdir_ent = readdir(arcdir)) != NULL) { + while ((arcdir_ent = readdir(arcdir)) != NULL) + { struct stat statbuf; char arcdir_ent_path[MAXPGPATH]; PQExpBufferData src_file;