tpws,nfqws: fix 100% cpu hang on gzipped hostlist with comments

This commit is contained in:
bol-van
2024-10-13 17:26:25 +03:00
parent f32df7d701
commit baca5a184d
4 changed files with 48 additions and 36 deletions

View File

@@ -4,7 +4,7 @@
#include "pools.h"
#include "params.h"
bool AppendHostList(strpool **hostlist, char *filename);
bool AppendHostList(strpool **hostlist, const char *filename);
bool LoadHostLists(strpool **hostlist, struct str_list_head *file_list);
bool LoadIncludeHostLists();
bool LoadExcludeHostLists();