[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: fix crash on namestore disc
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: fix crash on namestore disconnect |
Date: |
Sun, 20 May 2018 21:05:20 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 597539814 fix crash on namestore disconnect
597539814 is described below
commit 597539814533500b36b9d11ddf3868294b9e1ac2
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun May 20 21:05:18 2018 +0200
fix crash on namestore disconnect
---
src/namestore/gnunet-zoneimport.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/src/namestore/gnunet-zoneimport.c
b/src/namestore/gnunet-zoneimport.c
index b394178a6..57be5da71 100644
--- a/src/namestore/gnunet-zoneimport.c
+++ b/src/namestore/gnunet-zoneimport.c
@@ -1494,6 +1494,16 @@ do_shutdown (void *cls)
/**
+ * Iterate over all of the zones we care about and see which records
+ * we may need to re-fetch when.
+ *
+ * @param cls NULL
+ */
+static void
+iterate_zones (void *cls);
+
+
+/**
* Function called if #GNUNET_NAMESTORE_records_lookup() failed.
* Just logs an error.
*
@@ -1507,6 +1517,9 @@ ns_lookup_error_cb (void *cls)
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Failed to load data from namestore for zone `%s'\n",
zone->domain);
+ zone_it = NULL;
+ ns_iterator_trigger_next = 0;
+ iterate_zones (NULL);
}
--
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 crash on namestore disconnect,
gnunet <=