diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-08-01 14:39:10 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-08-01 14:39:10 +0000 |
commit | 0d1cdf6a77209c3509741e7c86f2f4958e549e68 (patch) | |
tree | 4c01b605dd53a1c9300353c33fd29cd09b092952 /src/experimentation | |
parent | c901c3c7eb667979c3ab9862927ab5e4a6b9a451 (diff) | |
download | gnunet-0d1cdf6a77209c3509741e7c86f2f4958e549e68.tar.gz gnunet-0d1cdf6a77209c3509741e7c86f2f4958e549e68.zip |
fixes
Diffstat (limited to 'src/experimentation')
-rw-r--r-- | src/experimentation/gnunet-daemon-experimentation_nodes.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/experimentation/gnunet-daemon-experimentation_nodes.c b/src/experimentation/gnunet-daemon-experimentation_nodes.c index 8c3063ac9..e3cad76bc 100644 --- a/src/experimentation/gnunet-daemon-experimentation_nodes.c +++ b/src/experimentation/gnunet-daemon-experimentation_nodes.c | |||
@@ -247,13 +247,7 @@ remove_request (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
247 | GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_FAST); | 247 | GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_FAST); |
248 | update_stats (nodes_inactive); | 248 | update_stats (nodes_inactive); |
249 | } | 249 | } |
250 | |||
251 | n->timeout_task = GNUNET_SCHEDULER_NO_TASK; | 250 | n->timeout_task = GNUNET_SCHEDULER_NO_TASK; |
252 | if (NULL != n->cth) | ||
253 | { | ||
254 | GNUNET_CORE_notify_transmit_ready_cancel (n->cth); | ||
255 | n->cth = NULL; | ||
256 | } | ||
257 | } | 251 | } |
258 | 252 | ||
259 | 253 | ||
@@ -488,11 +482,6 @@ static void handle_request (const struct GNUNET_PeerIdentity *peer, | |||
488 | GNUNET_SCHEDULER_cancel (n->timeout_task); | 482 | GNUNET_SCHEDULER_cancel (n->timeout_task); |
489 | n->timeout_task = GNUNET_SCHEDULER_NO_TASK; | 483 | n->timeout_task = GNUNET_SCHEDULER_NO_TASK; |
490 | } | 484 | } |
491 | if (NULL != n->cth) | ||
492 | { | ||
493 | GNUNET_CORE_notify_transmit_ready_cancel (n->cth); | ||
494 | n->cth = NULL; | ||
495 | } | ||
496 | update_stats (nodes_requested); | 485 | update_stats (nodes_requested); |
497 | make_active = GNUNET_YES; | 486 | make_active = GNUNET_YES; |
498 | } | 487 | } |
@@ -598,11 +587,6 @@ static void handle_response (const struct GNUNET_PeerIdentity *peer, | |||
598 | GNUNET_SCHEDULER_cancel (n->timeout_task); | 587 | GNUNET_SCHEDULER_cancel (n->timeout_task); |
599 | n->timeout_task = GNUNET_SCHEDULER_NO_TASK; | 588 | n->timeout_task = GNUNET_SCHEDULER_NO_TASK; |
600 | } | 589 | } |
601 | if (NULL != n->cth) | ||
602 | { | ||
603 | GNUNET_CORE_notify_transmit_ready_cancel (n->cth); | ||
604 | n->cth = NULL; | ||
605 | } | ||
606 | update_stats (nodes_requested); | 590 | update_stats (nodes_requested); |
607 | make_active = GNUNET_YES; | 591 | make_active = GNUNET_YES; |
608 | } | 592 | } |