summaryrefslogtreecommitdiff
path: root/src/rps/test_rps.c
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2018-10-14 13:37:27 +0200
committerJulius Bünger <buenger@mytum.de>2018-10-14 13:37:27 +0200
commit4cefd61da32ee7adf3cfc4167217bfcbb1e6d2e3 (patch)
treea42b98e583aeee62317bee8ab1774710cc1dfc35 /src/rps/test_rps.c
parent6048d2a10a95822d06b5d7be640adc89a895b01a (diff)
downloadgnunet-4cefd61da32ee7adf3cfc4167217bfcbb1e6d2e3.tar.gz
gnunet-4cefd61da32ee7adf3cfc4167217bfcbb1e6d2e3.zip
RPS tests: Schedule shutdown properly
Diffstat (limited to 'src/rps/test_rps.c')
-rw-r--r--src/rps/test_rps.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rps/test_rps.c b/src/rps/test_rps.c
index 0740d01df..63a6007ae 100644
--- a/src/rps/test_rps.c
+++ b/src/rps/test_rps.c
@@ -2806,8 +2806,6 @@ run (void *cls,
2806 timeout = GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 2806 timeout = GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS,
2807 (timeout_s * 1.2) + 0.1 * num_peers); 2807 (timeout_s * 1.2) + 0.1 * num_peers);
2808 shutdown_task = GNUNET_SCHEDULER_add_delayed (timeout, &shutdown_op, NULL); 2808 shutdown_task = GNUNET_SCHEDULER_add_delayed (timeout, &shutdown_op, NULL);
2809 shutdown_task = GNUNET_SCHEDULER_add_shutdown (shutdown_op, NULL);
2810
2811} 2809}
2812 2810
2813 2811