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:
ecae86c
)
coverity fix
author
Nathan S. Evans
<evans@in.tum.de>
Mon, 1 Feb 2010 14:35:14 +0000
(14:35 +0000)
committer
Nathan S. Evans
<evans@in.tum.de>
Mon, 1 Feb 2010 14:35:14 +0000
(14:35 +0000)
src/transport/transport_api.c
patch
|
blob
|
history
diff --git
a/src/transport/transport_api.c
b/src/transport/transport_api.c
index cbcabfb3b70f4f7b55eee1fd95717584d39ee1b3..24775f89ff6815a986f9871a4447a1166b01c21b 100644
(file)
--- a/
src/transport/transport_api.c
+++ b/
src/transport/transport_api.c
@@
-951,7
+951,7
@@
request_connect (void *cls, size_t size, void *buf)
GNUNET_assert (th->notify_delay_task == GNUNET_SCHEDULER_NO_TASK);
h = th->handle;
- n = find_neighbour(h, &t
cm->peer
);
+ n = find_neighbour(h, &t
h->target
);
if (n != NULL)
{
@@
-1653,6
+1653,7
@@
demultiplexer (void *cls, const struct GNUNET_MessageHeader *msg)
"Do know neighbor, scheduling transmission!\n");
#endif
n = find_neighbour(h, &cim->id);
+ GNUNET_assert(n != NULL);
n->received_ack = GNUNET_YES;
if (NULL != n->transmit_handle)
{