rather big refactoring: use a naming scheme

In the past naming of functions, variables and such didn't really have a
naming scheme. Now they should have.
This commit is contained in:
Christian Kruse
2014-03-06 18:22:16 +01:00
parent 9eba986833
commit 98b1f8d28a
8 changed files with 202 additions and 200 deletions

View File

@@ -235,7 +235,7 @@ parse_line(char *buff, char *name, char *value)
}
bool
reload_configuration(char *config_file, t_configuration_options * orig_options)
reload_config(char *config_file, t_configuration_options * orig_options)
{
PGconn *conn;
@@ -295,7 +295,7 @@ reload_configuration(char *config_file, t_configuration_options * orig_options)
}
/* Test conninfo string */
conn = establishDBConnection(new_options.conninfo, false);
conn = establish_db_connection(new_options.conninfo, false);
if (!conn || (PQstatus(conn) != CONNECTION_OK))
{
log_warning(_("conninfo string is not valid, will keep current configuration.\n"));