diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-08-15 23:43:36 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-08-15 23:43:36 -0400 |
commit | a856f446c7c95b338157511a55760575751544bc (patch) | |
tree | ab41ef6eeebdaaf72299193d8fbfd4cc96e10480 /src/test | |
parent | 6a77bde8d887bb9dd46c5c75e8bffb2f402feb39 (diff) | |
parent | 561ca9b987e093755603f1cce8f7d783c7b3006e (diff) | |
download | tor-a856f446c7c95b338157511a55760575751544bc.tar tor-a856f446c7c95b338157511a55760575751544bc.tar.gz |
Merge commit 'sebastian/bug1831'
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test.c | 5 | ||||
-rw-r--r-- | src/test/test_dir.c | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/test/test.c b/src/test/test.c index 2d396b581..5a37f1da8 100644 --- a/src/test/test.c +++ b/src/test/test.c @@ -485,7 +485,6 @@ test_circuit_timeout(void) circuit_build_times_t final; double timeout1, timeout2; or_state_t state; - char *msg; int i, runs; double close_ms; circuit_build_times_init(&initial); @@ -525,7 +524,7 @@ test_circuit_timeout(void) test_assert(estimate.total_build_times <= CBT_NCIRCUITS_TO_OBSERVE); circuit_build_times_update_state(&estimate, &state); - test_assert(circuit_build_times_parse_state(&final, &state, &msg) == 0); + test_assert(circuit_build_times_parse_state(&final, &state) == 0); circuit_build_times_update_alpha(&final); timeout2 = circuit_build_times_calculate_timeout(&final, @@ -627,7 +626,7 @@ test_circuit_timeout(void) circuit_build_times_count_timeout(&final, 1); } -done: + done: return; } diff --git a/src/test/test_dir.c b/src/test/test_dir.c index a129bf977..80d2379de 100644 --- a/src/test/test_dir.c +++ b/src/test/test_dir.c @@ -580,7 +580,7 @@ test_dir_measured_bw(void) "557365204145532d32353620696e73746561642e") == 0); } -done: + done: return; } |