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:
76dbaec
)
Fix NULL pointer check.
author
David Barksdale
<amatus.amongus@gmail.com>
Thu, 30 Sep 2010 21:58:54 +0000
(21:58 +0000)
committer
David Barksdale
<amatus.amongus@gmail.com>
Thu, 30 Sep 2010 21:58:54 +0000
(21:58 +0000)
src/transport/transport_api.c
patch
|
blob
|
history
diff --git
a/src/transport/transport_api.c
b/src/transport/transport_api.c
index 1eea40bb7da01e73b36bb5a6ec7dbede9ff26769..02f69fcad86ca0a0af3aef8a1347f361cb927717 100644
(file)
--- a/
src/transport/transport_api.c
+++ b/
src/transport/transport_api.c
@@
-1135,7
+1135,7
@@
neighbour_disconnect (struct NeighbourList *n)
#endif
GNUNET_break (n->is_connected == GNUNET_YES);
n->is_connected = GNUNET_NO;
- if (h->n
c
_cb != NULL)
+ if (h->n
d
_cb != NULL)
h->nd_cb (h->cls, &n->id);
if (n->transmit_stage == TS_NEW)
neighbour_free (n);