projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5879deb
)
set: zero out listener to make tracking down bug easier
author
Florian Dold
<florian.dold@gmail.com>
Tue, 28 Feb 2017 15:53:19 +0000
(16:53 +0100)
committer
Florian Dold
<florian.dold@gmail.com>
Tue, 28 Feb 2017 15:53:19 +0000
(16:53 +0100)
src/set/gnunet-service-set.c
patch
|
blob
|
history
diff --git
a/src/set/gnunet-service-set.c
b/src/set/gnunet-service-set.c
index 30d43e8a14b53542fc584c4e7d7c3fd690ba27b0..3e6e0791a8fc5ed8c22d2a1b21d923cf204b8bd0 100644
(file)
--- a/
src/set/gnunet-service-set.c
+++ b/
src/set/gnunet-service-set.c
@@
-233,6
+233,7
@@
listener_destroy (struct Listener *listener)
GNUNET_CONTAINER_DLL_remove (listeners_head,
listeners_tail,
listener);
+ *listener = (struct Listener) { 0 };
GNUNET_free (listener);
}