summaryrefslogtreecommitdiff
path: root/src/hostlist/test_gnunet_daemon_hostlist_learning.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-06-14 10:05:35 +0000
committerChristian Grothoff <christian@grothoff.org>2011-06-14 10:05:35 +0000
commitccc5a62e1a5a04660061634422ed83d8222d9e33 (patch)
tree2282b503de4bdbb2208b34a6ffa875974d6df56c /src/hostlist/test_gnunet_daemon_hostlist_learning.c
parentfe5d399299c46ba51f3d2d7638185d10ab07a91f (diff)
downloadgnunet-ccc5a62e1a5a04660061634422ed83d8222d9e33.tar.gz
gnunet-ccc5a62e1a5a04660061634422ed83d8222d9e33.zip
do shutdown on CTRL-C
Diffstat (limited to 'src/hostlist/test_gnunet_daemon_hostlist_learning.c')
-rw-r--r--src/hostlist/test_gnunet_daemon_hostlist_learning.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/hostlist/test_gnunet_daemon_hostlist_learning.c b/src/hostlist/test_gnunet_daemon_hostlist_learning.c
index 9a9e98cfe..1c965cf25 100644
--- a/src/hostlist/test_gnunet_daemon_hostlist_learning.c
+++ b/src/hostlist/test_gnunet_daemon_hostlist_learning.c
@@ -174,8 +174,6 @@ timeout_error (void *cls,
174 const struct GNUNET_SCHEDULER_TaskContext *tc) 174 const struct GNUNET_SCHEDULER_TaskContext *tc)
175{ 175{
176 timeout_task = GNUNET_SCHEDULER_NO_TASK; 176 timeout_task = GNUNET_SCHEDULER_NO_TASK;
177 if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN))
178 return;
179 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 177 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
180 "Timeout while executing testcase, test failed.\n"); 178 "Timeout while executing testcase, test failed.\n");
181 timeout = GNUNET_YES; 179 timeout = GNUNET_YES;