Permalink
Browse files

Fix unapplied astyle. Closes gh-26.

  • Loading branch information...
1 parent 4c792c8 commit 3ca0f2db06c9114c59e0846dda487cca9b1e85ff Greg Smith committed Apr 5, 2011
Showing with 9 additions and 9 deletions.
  1. +3 −3 check_dir.c
  2. +1 −1 dbutils.h
  3. +5 −5 repmgr.c
View
@@ -129,10 +129,10 @@ mkdir_p(char *path, mode_t omode)
{
struct stat sb;
mode_t numask,
- oumask;
+ oumask;
int first,
- last,
- retval;
+ last,
+ retval;
char *p;
p = path;
View
@@ -27,7 +27,7 @@ PGconn *establishDBConnectionByParams(const char *keywords[],
bool is_standby(PGconn *conn);
char *pg_version(PGconn *conn, char* major_version);
bool guc_setted(PGconn *conn, const char *parameter, const char *op,
- const char *value);
+ const char *value);
const char *get_cluster_size(PGconn *conn);
PGconn *getMasterConnection(PGconn *standby_conn, int id, char *cluster,
int *master_id, char *master_conninfo_out);
View
@@ -49,7 +49,7 @@
static void help(const char *progname);
static bool create_recovery_file(const char *data_dir, char *master_conninfo);
static int copy_remote_files(char *host, char *remote_user, char *remote_path,
- char *local_path, bool is_directory);
+ char *local_path, bool is_directory);
static bool check_parameters_for_action(const int action);
static void do_master_register(void);
@@ -1379,8 +1379,8 @@ create_recovery_file(const char *data_dir, char *master_conninfo)
return false;
}
- maxlen_snprintf(line, "primary_conninfo = 'host=%s port=%s'\n", runtime_options.host,
- (runtime_options.masterport[0]) ? runtime_options.masterport : "5432");
+ maxlen_snprintf(line, "primary_conninfo = 'host=%s port=%s'\n", runtime_options.host,
+ (runtime_options.masterport[0]) ? runtime_options.masterport : "5432");
/*
* Template a password into the connection string in recovery.conf
@@ -1400,8 +1400,8 @@ create_recovery_file(const char *data_dir, char *master_conninfo)
{
maxlen_snprintf(line,
"primary_conninfo = 'host=%s port=%s password=%s'\n",
- runtime_options.host,
- (runtime_options.masterport[0]) ? runtime_options.masterport : "5432",
+ runtime_options.host,
+ (runtime_options.masterport[0]) ? runtime_options.masterport : "5432",
password);
}
else

0 comments on commit 3ca0f2d

Please sign in to comment.