mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
you can't declare variables in the middle of a block
svn:r5214
This commit is contained in:
+2
-1
@@ -813,9 +813,10 @@ router_rebuild_descriptor(int force)
|
||||
if (authdir_mode(options))
|
||||
ri->is_verified = ri->is_named = 1; /* believe in yourself */
|
||||
if (options->MyFamily) {
|
||||
smartlist_t *family;
|
||||
if (!warned_nonexistent_family)
|
||||
warned_nonexistent_family = smartlist_create();
|
||||
smartlist_t *family = smartlist_create();
|
||||
family = smartlist_create();
|
||||
ri->declared_family = smartlist_create();
|
||||
smartlist_split_string(family, options->MyFamily, ",",
|
||||
SPLIT_SKIP_SPACE|SPLIT_IGNORE_BLANK, 0);
|
||||
|
||||
Reference in New Issue
Block a user