aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-08-20 12:44:15 -0400
committerNick Mathewson <nickm@torproject.org>2014-08-20 12:44:15 -0400
commitd0009cb8e8bd2a6f1c84f9f117a71f84045fdfce (patch)
tree3817a5085f19ce2726a78f99158672c708e83ce5 /src/or/router.c
parentd28670c94fb6482cfbd5117b001f076dbb9b9f41 (diff)
parent04007448b9f318f4c3517ce173272f756a02f28c (diff)
downloadtor-d0009cb8e8bd2a6f1c84f9f117a71f84045fdfce.tar.gz
tor-d0009cb8e8bd2a6f1c84f9f117a71f84045fdfce.zip
Merge remote-tracking branch 'public/bug12728_024'
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 4fcd4a5b89..87b6705d84 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -1879,7 +1879,7 @@ router_rebuild_descriptor(int force)
family = smartlist_new();
ri->declared_family = smartlist_new();
smartlist_split_string(family, options->MyFamily, ",",
- SPLIT_SKIP_SPACE|SPLIT_SKIP_SPACE|SPLIT_IGNORE_BLANK, 0);
+ SPLIT_SKIP_SPACE|SPLIT_IGNORE_BLANK|SPLIT_STRIP_SPACE, 0);
SMARTLIST_FOREACH_BEGIN(family, char *, name) {
const node_t *member;
if (!strcasecmp(name, options->Nickname))