From 0d90a33f83606133e2883e66c83eb932c7faaa31 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Tue, 31 Jan 2012 08:19:58 +0000 Subject: [PATCH] fix assertion --- src/transport/test_transport_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (); -- 2.25.1