From 46af2d26d06e7cbb64bb72d927bb3aaa794db4fe Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Fri, 7 Oct 2005 18:56:21 +0000 Subject: you can't declare variables in the middle of a block svn:r5214 --- src/or/router.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/or/router.c') 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); -- cgit v1.2.3-54-g00ecf