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:
568ef6e
)
invariant pr->pending_head <> NULL still getting violated
author
Nathan S. Evans
<evans@in.tum.de>
Mon, 22 Nov 2010 16:59:21 +0000
(16:59 +0000)
committer
Nathan S. Evans
<evans@in.tum.de>
Mon, 22 Nov 2010 16:59:21 +0000
(16:59 +0000)
src/core/core_api.c
patch
|
blob
|
history
diff --git
a/src/core/core_api.c
b/src/core/core_api.c
index 69694868298ab00de587e6d9d5ae80bdc92e2ca8..cae2692906d75f19320faab49fc303ce5b1bfe9a 100644
(file)
--- a/
src/core/core_api.c
+++ b/
src/core/core_api.c
@@
-1521,9
+1521,9
@@
GNUNET_CORE_notify_transmit_ready (struct GNUNET_CORE_Handle *handle,
/* Order entries by deadline, but SKIP 'HEAD' if
we're in the 'ready_peer_*' DLL */
/* FIXME: again, pr->pending_head is NULL after a reconnect_later call */
+ pos = pr->pending_head;
if (pr->pending_head != NULL)
{
- pos = pr->pending_head;
if ( (pr->prev != NULL) ||
(pr->next != NULL) ||
(pr == handle->ready_peer_head) )