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:
da3c9ce
)
- process channel destroy notifications properly
author
Bart Polot
<bart@net.in.tum.de>
Fri, 29 Nov 2013 11:59:08 +0000
(11:59 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Fri, 29 Nov 2013 11:59:08 +0000
(11:59 +0000)
src/mesh/test_mesh_small.c
patch
|
blob
|
history
diff --git
a/src/mesh/test_mesh_small.c
b/src/mesh/test_mesh_small.c
index 855156bd9d835bd1ea1da4d0a81aa4c6aefd1655..b3bf8d9fecc28251e4be15b48770924b7e8b34c8 100644
(file)
--- a/
src/mesh/test_mesh_small.c
+++ b/
src/mesh/test_mesh_small.c
@@
-589,11
+589,16
@@
channel_cleaner (void *cls, const struct GNUNET_MESH_Channel *channel,
if (4L == i)
{
ok++;
+ GNUNET_break (channel == incoming_ch);
incoming_ch = NULL;
}
- else if (0L == i
&& P2P_SIGNAL == test
)
+ else if (0L == i)
{
- ok ++;
+ if (P2P_SIGNAL == test)
+ {
+ ok ++;
+ }
+ GNUNET_break (channel == ch);
ch = NULL;
}
else