summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-09-23 22:57:32 +0000
committerRoger Dingledine <arma@torproject.org>2004-09-23 22:57:32 +0000
commit57d7857defeb2d98c601b62386f302ddff5e5dec (patch)
tree75eb31eb2b8c1b3d3920f7eeb974363a8a1fdb2a
parentfa0a1ec49ff9cd93730e81f5eb4112624b5c0443 (diff)
downloadtor-57d7857defeb2d98c601b62386f302ddff5e5dec.tar.gz
tor-57d7857defeb2d98c601b62386f302ddff5e5dec.zip
don't mind empty exit policy entries
svn:r2373
-rw-r--r--src/or/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 4a746116f7..9b7afee2f2 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);