[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 02/05: stop retrying after we succeed
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 02/05: stop retrying after we succeed |
Date: |
Wed, 18 Apr 2018 16:59:38 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
commit 3f1ddc993a92cd2d6d47cd7c480a01bb27247df5
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Apr 18 16:22:33 2018 +0200
stop retrying after we succeed
---
src/dns/dnsstub.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/dns/dnsstub.c b/src/dns/dnsstub.c
index f9dc7a696..6aa2d7b8f 100644
--- a/src/dns/dnsstub.c
+++ b/src/dns/dnsstub.c
@@ -621,6 +621,11 @@ void
GNUNET_DNSSTUB_resolve_cancel (struct GNUNET_DNSSTUB_RequestSocket *rs)
{
rs->rc = NULL;
+ if (NULL != rs->retry_task)
+ {
+ GNUNET_SCHEDULER_cancel (rs->retry_task);
+ rs->retry_task = NULL;
+ }
}
--
To stop receiving notification emails like this one, please contact
address@hidden