mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-12 01:26:48 +08:00
clear_cfg_file() -> clear_cfg()
This commit is contained in:
+2
-2
@@ -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
@@ -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
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user