diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-09-01 17:50:29 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-09-01 17:50:29 +0000 |
commit | eca3634f62d3739c83b13a90d6dbb3fcfd3600cf (patch) | |
tree | 6bf8b082628b22411e14010d0a0025004de7dbbc | |
parent | 10bd4f6ad6157bfc3e36d96622c257f6e9c20b51 (diff) | |
download | tor-eca3634f62d3739c83b13a90d6dbb3fcfd3600cf.tar tor-eca3634f62d3739c83b13a90d6dbb3fcfd3600cf.tar.gz |
r14294@Kushana: nickm | 2007-09-01 13:50:03 -0400
Oops. Initialize "changed" variable when removing obsolete guards.
svn:r11346
-rw-r--r-- | src/or/circuitbuild.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index 4b14e16f6..2f88c85e8 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -2107,7 +2107,7 @@ entry_guard_free(entry_guard_t *e) static int remove_obsolete_entry_guards(void) { - int changed, i; + int changed = 0, i; for (i = 0; i < smartlist_len(entry_guards); ++i) { entry_guard_t *entry = smartlist_get(entry_guards, i); const char *ver = entry->chosen_by_version; |