From d42f3e25f451222e93a78d57d1287893c90c764f Mon Sep 17 00:00:00 2001 From: Jaime Casanova Date: Thu, 7 Oct 2010 00:29:10 -0500 Subject: [PATCH] Fix a typo in the last commit that show the right directory in error messages --- repmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repmgr.c b/repmgr.c index c170730f..31035f77 100644 --- a/repmgr.c +++ b/repmgr.c @@ -359,7 +359,7 @@ do_standby_clone(void) { char *tblspc_dir; - strcpy(tblspc_dir, PQgetvalues(res, i, 0)); + strcpy(tblspc_dir, PQgetvalue(res, i, 0)); /* Check this directory could be used as a PGDATA dir */ switch (check_dir(tblspc_dir)) {