[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: Fix double-scheduling of sh
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: Fix double-scheduling of shutdown task |
Date: |
Tue, 02 Jan 2018 18:39:26 +0100 |
This is an automated email from the git hooks/post-receive script.
david-barksdale pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 852bc17cd Fix double-scheduling of shutdown task
852bc17cd is described below
commit 852bc17cdf0a1ebb14d1f23e418b3d26c041534e
Author: David Barksdale <address@hidden>
AuthorDate: Tue Jan 2 11:34:45 2018 -0600
Fix double-scheduling of shutdown task
---
src/util/resolver_api.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/util/resolver_api.c b/src/util/resolver_api.c
index 11b8134d6..84f541ba0 100644
--- a/src/util/resolver_api.c
+++ b/src/util/resolver_api.c
@@ -414,10 +414,11 @@ process_requests ()
{
/* nothing to do, release socket really soon if there is nothing
* else happening... */
- s_task =
- GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_MILLISECONDS,
- &shutdown_task,
- NULL);
+ if (NULL == s_task)
+ s_task =
+ GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_MILLISECONDS,
+ &shutdown_task,
+ NULL);
return;
}
if (GNUNET_NO != rh->was_transmitted)
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: Fix double-scheduling of shutdown task,
gnunet <=