[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r37505 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r37505 - gnunet/src/transport |
Date: |
Fri, 8 Jul 2016 20:08:06 +0200 |
Author: grothoff
Date: 2016-07-08 20:08:06 +0200 (Fri, 08 Jul 2016)
New Revision: 37505
Modified:
gnunet/src/transport/transport_api_get_hello.c
Log:
-cancel reconnect task
Modified: gnunet/src/transport/transport_api_get_hello.c
===================================================================
--- gnunet/src/transport/transport_api_get_hello.c 2016-07-08 18:06:06 UTC
(rev 37504)
+++ gnunet/src/transport/transport_api_get_hello.c 2016-07-08 18:08:06 UTC
(rev 37505)
@@ -251,6 +251,11 @@
void
GNUNET_TRANSPORT_get_hello_cancel (struct GNUNET_TRANSPORT_GetHelloHandle *ghh)
{
+ if (NULL != ghh->reconnect_task)
+ {
+ GNUNET_SCHEDULER_cancel (ghh->reconnect_task);
+ ghh->reconnect_task = NULL;
+ }
if (NULL != ghh->mq)
{
GNUNET_MQ_destroy (ghh->mq);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r37505 - gnunet/src/transport,
gnunet <=