diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-01-16 20:03:37 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-02-19 12:41:01 +0100 |
commit | e5f00fda52a45ebd22716debf0d9af36fb6fce0a (patch) | |
tree | 1bfbc2c21510fafc912bcb5a0c82b87418fc6248 /src/hello | |
parent | 980eec8b79b63b445530cd42778a772e8a67b820 (diff) | |
download | gnunet-e5f00fda52a45ebd22716debf0d9af36fb6fce0a.tar.gz gnunet-e5f00fda52a45ebd22716debf0d9af36fb6fce0a.zip |
-DHT: get tests to pass
Diffstat (limited to 'src/hello')
-rw-r--r-- | src/hello/hello-uri.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hello/hello-uri.c b/src/hello/hello-uri.c index 355443455..e57d49e86 100644 --- a/src/hello/hello-uri.c +++ b/src/hello/hello-uri.c | |||
@@ -813,6 +813,8 @@ GNUNET_HELLO_builder_iterate (const struct GNUNET_HELLO_Builder *builder, | |||
813 | struct Address *nxt; | 813 | struct Address *nxt; |
814 | 814 | ||
815 | *pid = builder->pid; | 815 | *pid = builder->pid; |
816 | if (NULL == uc) | ||
817 | return; | ||
816 | for (struct Address *a = builder->a_head; | 818 | for (struct Address *a = builder->a_head; |
817 | NULL != a; | 819 | NULL != a; |
818 | a = nxt) | 820 | a = nxt) |