diff options
author | Roger Dingledine <arma@torproject.org> | 2004-09-23 22:57:32 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-09-23 22:57:32 +0000 |
commit | 57d7857defeb2d98c601b62386f302ddff5e5dec (patch) | |
tree | 75eb31eb2b8c1b3d3920f7eeb974363a8a1fdb2a | |
parent | fa0a1ec49ff9cd93730e81f5eb4112624b5c0443 (diff) | |
download | tor-57d7857defeb2d98c601b62386f302ddff5e5dec.tar tor-57d7857defeb2d98c601b62386f302ddff5e5dec.tar.gz |
don't mind empty exit policy entries
svn:r2373
-rw-r--r-- | src/or/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c index 4a746116f..9b7afee2f 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -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); |