projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
-fix config, shutdown issue
[oweals/gnunet.git]
/
src
/
ats
/
gnunet-service-ats_addresses.c
diff --git
a/src/ats/gnunet-service-ats_addresses.c
b/src/ats/gnunet-service-ats_addresses.c
index 743c194367aa0a8aace40b7285768138ca8de32a..a1d47e3b94a7e3da9bcbb3fe37442ad07a0efadb 100644
(file)
--- a/
src/ats/gnunet-service-ats_addresses.c
+++ b/
src/ats/gnunet-service-ats_addresses.c
@@
-726,6
+726,9
@@
GAS_addresses_destroy_all ()
{
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Destroying all addresses\n");
+ if (0 ==
+ GNUNET_CONTAINER_multipeermap_size (GSA_addresses))
+ return;
GAS_plugin_solver_lock ();
GNUNET_CONTAINER_multipeermap_iterate (GSA_addresses,
&destroy_all_address_it,