replace leftover users of hashmap with htab

also fixes a bug where the ErrorFile directive would create a
new hashmap on every added item, effectively allowing only
the use of the last specified errornumber, and producing memory
leaks on each config reload.
This commit is contained in:
rofl0r committed 2020-09-15 23:12:00 +01:00
1 parent 34a8b28414
commit 155bfbbe87
12 files changed
+89 -687

No files matched your search

+1 -1
View File
@@ -23,6 +23,6 @@
extern short int is_anonymous_enabled (struct config_s *conf);
extern int anonymous_search (struct config_s *conf, const char *s);
extern int anonymous_insert (struct config_s *conf, const char *s);
extern int anonymous_insert (struct config_s *conf, char *s);
#endif