mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-14 07:03:44 +01:00
Merge remote-tracking branch 'public/bug12728_024'
This commit is contained in:
commit
d0009cb8e8
4
changes/bug12728
Normal file
4
changes/bug12728
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
o Minor bugfixes:
|
||||||
|
- When generating our family list, remove spaces from around the
|
||||||
|
entries there. Fixes bug 12728; bugfix on 0.2.1.7-alpha.
|
@ -1879,7 +1879,7 @@ router_rebuild_descriptor(int force)
|
|||||||
family = smartlist_new();
|
family = smartlist_new();
|
||||||
ri->declared_family = smartlist_new();
|
ri->declared_family = smartlist_new();
|
||||||
smartlist_split_string(family, options->MyFamily, ",",
|
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) {
|
SMARTLIST_FOREACH_BEGIN(family, char *, name) {
|
||||||
const node_t *member;
|
const node_t *member;
|
||||||
if (!strcasecmp(name, options->Nickname))
|
if (!strcasecmp(name, options->Nickname))
|
||||||
|
Loading…
Reference in New Issue
Block a user