mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 14:40:51 +01:00
don't mind empty exit policy entries
svn:r2373
This commit is contained in:
parent
fa0a1ec49f
commit
57d7857def
1 changed files with 1 additions and 1 deletions
|
@ -999,7 +999,7 @@ config_parse_exit_policy(struct config_line_t *cfg,
|
|||
|
||||
entries = smartlist_create();
|
||||
for (; cfg; cfg = cfg->next) {
|
||||
smartlist_split_string(entries,cfg->value,",",SPLIT_SKIP_SPACE,0);
|
||||
smartlist_split_string(entries,cfg->value,",",SPLIT_SKIP_SPACE|SPLIT_IGNORE_BLANK,0);
|
||||
SMARTLIST_FOREACH(entries, const char *, ent, {
|
||||
log_fn(LOG_DEBUG,"Adding new entry '%s'",ent);
|
||||
*nextp = router_parse_exit_policy_from_string(ent);
|
||||
|
|
Loading…
Add table
Reference in a new issue