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:
6c3fd67
)
- fix false assert trigger when message #0 is lost
author
Bart Polot
<bart@net.in.tum.de>
Wed, 15 Oct 2014 00:55:37 +0000
(
00:55
+0000)
committer
Bart Polot
<bart@net.in.tum.de>
Wed, 15 Oct 2014 00:55:37 +0000
(
00:55
+0000)
src/cadet/gnunet-service-cadet_channel.c
patch
|
blob
|
history
diff --git
a/src/cadet/gnunet-service-cadet_channel.c
b/src/cadet/gnunet-service-cadet_channel.c
index cc809e9d0530415caaee63ffb420bf042b074250..14677c96cec89862c448ef6a009c8bf5a3115252 100644
(file)
--- a/
src/cadet/gnunet-service-cadet_channel.c
+++ b/
src/cadet/gnunet-service-cadet_channel.c
@@
-1536,7
+1536,7
@@
GCCH_send_data_ack (struct CadetChannel *ch, int fwd)
GC_m2s (copy->type));
continue;
}
- GNUNET_assert (
copy->mid > ack
);
+ GNUNET_assert (
GC_is_pid_bigger(copy->mid, ack)
);
delta = copy->mid - (ack + 1);
if (63 < delta)
break;