Delete debug logs

This commit is contained in:
Vadim Vetrov 2024-12-09 01:45:14 +03:00
parent ba0f87d195
commit 1822983b34
No known key found for this signature in database
GPG Key ID: E8A308689D7A73A5
2 changed files with 0 additions and 7 deletions

3
args.c
View File

@ -61,7 +61,6 @@ static int parse_sni_domains(struct domains_list **dlist, const char *domains_st
static void free_sni_domains(struct domains_list *dlist) {
for (struct domains_list *ldl = dlist; ldl != NULL;) {
struct domains_list *ndl = ldl->next;
printf("freeing domains\n");
SFREE(ldl->domain_name);
SFREE(ldl);
ldl = ndl;
@ -1151,7 +1150,6 @@ int init_config(struct config_t *config) {
}
void free_config_section(struct section_config_t *section) {
lginfo("freeing %d\n", section->id);
if (section->udp_dport_range_len != 0) {
SFREE(section->udp_dport_range);
}
@ -1168,7 +1166,6 @@ void free_config_section(struct section_config_t *section) {
}
void free_config(struct config_t config) {
lginfo("freeing config\n");
for (struct section_config_t *sct = config.last_section; sct != NULL;) {
struct section_config_t *psct = sct->prev;
free_config_section(sct);

View File

@ -39,10 +39,6 @@ static int params_set(const char *cval, const struct kernel_param *kp) {
}
}
for (int i = 0; i < argc; i++) {
lginfo("%s %lu\n", argv[i], strlen(argv[i]));
}
ret = yparse_args(argc, argv);
kfree(val);
return ret;