diff options
author | Roger Dingledine <arma@torproject.org> | 2008-10-01 03:41:33 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-10-01 03:41:33 +0000 |
commit | c7af43a62497fb3e10c8de9a5bb8cc8113efb99c (patch) | |
tree | 847f11b6f733a3aa4af359b8d77b56f359327bc2 /src/or/routerlist.c | |
parent | 914086628776bf915f7359a6486427c74391134a (diff) | |
download | tor-c7af43a62497fb3e10c8de9a5bb8cc8113efb99c.tar.gz tor-c7af43a62497fb3e10c8de9a5bb8cc8113efb99c.zip |
Now NodeFamily and MyFamily config options allow spaces in
identity fingerprints, so it's easier to paste them in.
Suggested by Lucky Green.
svn:r17021
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r-- | src/or/routerlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index be38cc569e..4ea307d91a 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -1324,7 +1324,7 @@ router_nickname_is_in_list(routerinfo_t *router, const char *list) nickname_list = smartlist_create(); smartlist_split_string(nickname_list, list, ",", - SPLIT_SKIP_SPACE|SPLIT_IGNORE_BLANK, 0); + SPLIT_SKIP_SPACE|SPLIT_STRIP_SPACE|SPLIT_IGNORE_BLANK, 0); SMARTLIST_FOREACH(nickname_list, const char *, cp, if (router_nickname_matches(router, cp)) {v=1;break;}); SMARTLIST_FOREACH(nickname_list, char *, cp, tor_free(cp)); |