From c7af43a62497fb3e10c8de9a5bb8cc8113efb99c Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Wed, 1 Oct 2008 03:41:33 +0000 Subject: 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 --- src/or/routerlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/routerlist.c') 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)); -- cgit v1.2.3-54-g00ecf