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:
b6e0ae7
)
fix assertion
author
Matthias Wachs
<wachs@net.in.tum.de>
Tue, 31 Jan 2012 08:19:58 +0000
(08:19 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Tue, 31 Jan 2012 08:19:58 +0000
(08:19 +0000)
src/transport/test_transport_api.c
patch
|
blob
|
history
diff --git
a/src/transport/test_transport_api.c
b/src/transport/test_transport_api.c
index 401657c9f4a426ab0762dd1055532833ef06f87d..19121910743ae5e32849245b5d5ed5f772db059c 100644
(file)
--- a/
src/transport/test_transport_api.c
+++ b/
src/transport/test_transport_api.c
@@
-162,7
+162,7
@@
notify_receive (void *cls, const struct GNUNET_PeerIdentity *peer,
GNUNET_free (ps);
if ((MTYPE == ntohs (message->type)) &&
- (
sizeof (struct GNUNET_MessageHeader)
== ntohs (message->size)))
+ (
MSIZE
== ntohs (message->size)))
{
ok = 0;
end ();