mirror of
https://github.com/Waujito/youtubeUnblock.git
synced 2024-12-22 06:15:31 +00:00
Delete debug logs
This commit is contained in:
parent
ba0f87d195
commit
1822983b34
3
args.c
3
args.c
@ -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) {
|
static void free_sni_domains(struct domains_list *dlist) {
|
||||||
for (struct domains_list *ldl = dlist; ldl != NULL;) {
|
for (struct domains_list *ldl = dlist; ldl != NULL;) {
|
||||||
struct domains_list *ndl = ldl->next;
|
struct domains_list *ndl = ldl->next;
|
||||||
printf("freeing domains\n");
|
|
||||||
SFREE(ldl->domain_name);
|
SFREE(ldl->domain_name);
|
||||||
SFREE(ldl);
|
SFREE(ldl);
|
||||||
ldl = ndl;
|
ldl = ndl;
|
||||||
@ -1151,7 +1150,6 @@ int init_config(struct config_t *config) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void free_config_section(struct section_config_t *section) {
|
void free_config_section(struct section_config_t *section) {
|
||||||
lginfo("freeing %d\n", section->id);
|
|
||||||
if (section->udp_dport_range_len != 0) {
|
if (section->udp_dport_range_len != 0) {
|
||||||
SFREE(section->udp_dport_range);
|
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) {
|
void free_config(struct config_t config) {
|
||||||
lginfo("freeing config\n");
|
|
||||||
for (struct section_config_t *sct = config.last_section; sct != NULL;) {
|
for (struct section_config_t *sct = config.last_section; sct != NULL;) {
|
||||||
struct section_config_t *psct = sct->prev;
|
struct section_config_t *psct = sct->prev;
|
||||||
free_config_section(sct);
|
free_config_section(sct);
|
||||||
|
4
kargs.c
4
kargs.c
@ -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);
|
ret = yparse_args(argc, argv);
|
||||||
kfree(val);
|
kfree(val);
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user