aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_workqueue.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-09-28 00:52:28 -0400
committerNick Mathewson <nickm@torproject.org>2015-01-14 11:19:35 -0500
commitcc6529e9bb7d7e01a25b5632d6d6c2424c6fc2b4 (patch)
tree1ea4ebcc33f65cd4300e75a4d001093cf8c49e2f /src/test/test_workqueue.c
parente5f8c772f4c468a20da8b9176c2b276ac76bbe78 (diff)
downloadtor-cc6529e9bb7d7e01a25b5632d6d6c2424c6fc2b4.tar.gz
tor-cc6529e9bb7d7e01a25b5632d6d6c2424c6fc2b4.zip
Fix check-spaces
Diffstat (limited to 'src/test/test_workqueue.c')
-rw-r--r--src/test/test_workqueue.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/test/test_workqueue.c b/src/test/test_workqueue.c
index 6de6f03c33..410f43cce4 100644
--- a/src/test/test_workqueue.c
+++ b/src/test/test_workqueue.c
@@ -293,9 +293,12 @@ replysock_readable_cb(tor_socket_t sock, short what, void *arg)
add_n_work_items(tp, n_to_send);
}
- if (shutting_down == 0 && n_received+n_successful_cancel == n_sent && n_sent >= opt_n_items) {
+ if (shutting_down == 0 &&
+ n_received+n_successful_cancel == n_sent &&
+ n_sent >= opt_n_items) {
shutting_down = 1;
- threadpool_queue_for_all(tp, NULL, workqueue_do_shutdown, shutdown_reply, NULL);
+ threadpool_queue_for_all(tp, NULL,
+ workqueue_do_shutdown, shutdown_reply, NULL);
}
}
@@ -416,3 +419,4 @@ main(int argc, char **argv)
return 0;
}
}
+