summaryrefslogtreecommitdiff
path: root/src/transport/test_transport_api.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-01-31 08:19:58 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-01-31 08:19:58 +0000
commit0d90a33f83606133e2883e66c83eb932c7faaa31 (patch)
treea2f1065eada3679005c0f4b4e7cb73133bab9812 /src/transport/test_transport_api.c
parentb6e0ae791f7dd672902ab59daaecb69e327ba73b (diff)
fix assertion
Diffstat (limited to 'src/transport/test_transport_api.c')
-rw-r--r--src/transport/test_transport_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/test_transport_api.c b/src/transport/test_transport_api.c
index 401657c9f..191219107 100644
--- 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 ();