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:
1e1918e
)
Asserts to track down a bug
author
David Barksdale
<amatus@amat.us>
Sun, 5 Nov 2017 20:00:10 +0000
(14:00 -0600)
committer
David Barksdale
<amatus@amat.us>
Sun, 5 Nov 2017 20:00:10 +0000
(14:00 -0600)
src/revocation/gnunet-service-revocation.c
patch
|
blob
|
history
diff --git
a/src/revocation/gnunet-service-revocation.c
b/src/revocation/gnunet-service-revocation.c
index 9d077f874dd3e7176cefcc9ba9a5105f0856e5f4..8281e9a16614d74ad23ed955f89e1bb7a2ba3990 100644
(file)
--- a/
src/revocation/gnunet-service-revocation.c
+++ b/
src/revocation/gnunet-service-revocation.c
@@
-509,6
+509,7
@@
transmit_task_cb (void *cls)
"Starting set exchange with peer `%s'\n",
GNUNET_i2s (&peer_entry->id));
peer_entry->transmit_task = NULL;
+ GNUNET_assert (NULL == peer_entry->so);
peer_entry->so = GNUNET_SET_prepare (&peer_entry->id,
&revocation_set_union_app_id,
NULL,
@@
-758,6
+759,7
@@
handle_revocation_union_request (void *cls,
{
peer_entry = new_peer_entry (other_peer);
}
+ GNUNET_assert (NULL == peer_entry->so);
peer_entry->so = GNUNET_SET_accept (request,
GNUNET_SET_RESULT_ADDED,
(struct GNUNET_SET_Option[]) {{ 0 }},