aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-08-20 15:32:35 -0400
committerNick Mathewson <nickm@torproject.org>2014-08-20 15:32:35 -0400
commit2994f00199096860c4cbdfcb6b7d82918d637b27 (patch)
treeebaa22e594da4644fbcf2bf31e38b3692b3a6feb /src
parenta5fe84b5a6a2adb78ea917ad46a77b1793518cc1 (diff)
downloadtor-2994f00199096860c4cbdfcb6b7d82918d637b27.tar.gz
tor-2994f00199096860c4cbdfcb6b7d82918d637b27.zip
Whitespace fixes
Diffstat (limited to 'src')
-rw-r--r--src/test/test_entrynodes.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test_entrynodes.c b/src/test/test_entrynodes.c
index bf014f1a9d..00efa81768 100644
--- a/src/test/test_entrynodes.c
+++ b/src/test/test_entrynodes.c
@@ -561,18 +561,18 @@ test_entry_is_time_to_retry(void *arg)
retval = entry_is_time_to_retry(test_guard,now);
tt_int_op(retval,==,1);
-
+
test_guard->last_attempted = now - (60*60 - 1);
retval = entry_is_time_to_retry(test_guard,now);
tt_int_op(retval,==,0);
-
+
test_guard->unreachable_since = now - (6*60*60 + 1);
test_guard->last_attempted = now - (4*60*60 + 1);
retval = entry_is_time_to_retry(test_guard,now);
tt_int_op(retval,==,1);
-
+
test_guard->unreachable_since = now - (3*24*60*60 - 1);
test_guard->last_attempted = now - (4*60*60 + 1);
@@ -682,7 +682,7 @@ static const struct testcase_setup_t fake_network = {
};
struct testcase_t entrynodes_tests[] = {
- { "entry_is_time_to_retry", test_entry_is_time_to_retry,
+ { "entry_is_time_to_retry", test_entry_is_time_to_retry,
TT_FORK, NULL, NULL },
{ "choose_random_entry_no_guards", test_choose_random_entry_no_guards,
TT_FORK, &fake_network, NULL },