aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-02 14:06:45 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-02 14:06:45 +0000
commitdab77080be0fa068ddbfa523c71cc82e5f95aa37 (patch)
tree0948e9d13d15d500f20ee5cb7ce37a0e769b88be /src
parent125728ebc19408b9fccd72ee8b3d801e61b9d215 (diff)
downloadgnunet-dab77080be0fa068ddbfa523c71cc82e5f95aa37.tar.gz
gnunet-dab77080be0fa068ddbfa523c71cc82e5f95aa37.zip
fix
Diffstat (limited to 'src')
-rw-r--r--src/transport/test_quota_compliance.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/transport/test_quota_compliance.c b/src/transport/test_quota_compliance.c
index a3b135eb2..921fa9542 100644
--- a/src/transport/test_quota_compliance.c
+++ b/src/transport/test_quota_compliance.c
@@ -615,8 +615,11 @@ notify_connect (void *cls,
615 } 615 }
616 if (connected == 2) 616 if (connected == 2)
617 { 617 {
618 GNUNET_SCHEDULER_cancel (tct); 618 if (GNUNET_SCHEDULER_NO_TASK != tct)
619 tct = GNUNET_SCHEDULER_NO_TASK; 619 {
620 GNUNET_SCHEDULER_cancel (tct);
621 tct = GNUNET_SCHEDULER_NO_TASK;
622 }
620 GNUNET_TRANSPORT_get_hello_cancel (p2.th, &exchange_hello_last, &p2); 623 GNUNET_TRANSPORT_get_hello_cancel (p2.th, &exchange_hello_last, &p2);
621 GNUNET_TRANSPORT_get_hello_cancel (p1.th, &exchange_hello, &p1); 624 GNUNET_TRANSPORT_get_hello_cancel (p1.th, &exchange_hello, &p1);
622 if (is_asymmetric_send_constant == GNUNET_YES) 625 if (is_asymmetric_send_constant == GNUNET_YES)