From: Matthias Wachs Date: Tue, 31 Jan 2012 08:19:58 +0000 (+0000) Subject: fix assertion X-Git-Tag: initial-import-from-subversion-38251~14975 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0d90a33f83606133e2883e66c83eb932c7faaa31;p=oweals%2Fgnunet.git fix assertion --- 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 ();