Fix quoting misbehavior

Move the single quote in the formatting string to the end of the line.

Signed-off-by: Dan Farina <drfarina@acm.org>
This commit is contained in:
Dan Farina
2010-12-23 01:03:44 -08:00
parent dd5ac660bf
commit 156714f3f1

View File

@@ -1377,7 +1377,7 @@ create_recovery_file(const char *data_dir, char *master_conninfo)
} }
maxlen_snprintf(line, maxlen_snprintf(line,
"primary_conninfo = 'host=%s port=%s' password=%s\n", "primary_conninfo = 'host=%s port=%s password=%s'\n",
host, ((masterport==NULL) ? "5432" : masterport), host, ((masterport==NULL) ? "5432" : masterport),
password); password);
} }