clear_cfg_file() -> clear_cfg()

This commit is contained in:
Nikos Mavrogiannopoulos
2015-03-02 13:18:58 +01:00
parent bf23bb82ba
commit d4a26b9fbe
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1085,7 +1085,7 @@ int cmd_parser (void *pool, int argc, char **argv, struct perm_cfg_st** config)
}
#define DEL(x) {talloc_free(x);x=NULL;}
void clear_cfg_file(struct perm_cfg_st* perm_config)
void clear_cfg(struct perm_cfg_st* perm_config)
{
unsigned i;
@@ -1210,7 +1210,7 @@ void print_version(tOptions *opts, tOptDesc *desc)
void reload_cfg_file(void *pool, struct perm_cfg_st* perm_config)
{
clear_cfg_file(perm_config);
clear_cfg(perm_config);
parse_cfg_file(pool, cfg_file, perm_config, 1);
+1 -1
View File
@@ -858,7 +858,7 @@ unsigned total = 10;
*/
clear_lists(s);
tls_global_deinit(s->creds);
clear_cfg_file(s->perm_config);
clear_cfg(s->perm_config);
talloc_free(s->perm_config);
talloc_free(s->main_pool);
closelog();
+1 -1
View File
@@ -42,7 +42,7 @@
extern sigset_t sig_default_set;
int cmd_parser (void *pool, int argc, char **argv, struct perm_cfg_st** config);
void reload_cfg_file(void *pool, struct perm_cfg_st* config);
void clear_cfg_file(struct perm_cfg_st* config);
void clear_cfg(struct perm_cfg_st* config);
void write_pid_file(void);
void remove_pid_file(void);