diff options
author | Roger Dingledine <arma@torproject.org> | 2005-10-07 18:56:21 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-10-07 18:56:21 +0000 |
commit | 46af2d26d06e7cbb64bb72d927bb3aaa794db4fe (patch) | |
tree | 5bcfaba4925630a565f0efb7e96bc9909514abb3 /src/or/router.c | |
parent | 14934dece20c90911a7fa8d0f37595497a57c88e (diff) | |
download | tor-46af2d26d06e7cbb64bb72d927bb3aaa794db4fe.tar.gz tor-46af2d26d06e7cbb64bb72d927bb3aaa794db4fe.zip |
you can't declare variables in the middle of a block
svn:r5214
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c index c6dc7baf65..2be304cb5b 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -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); |