diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-01-31 08:19:58 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-01-31 08:19:58 +0000 |
commit | 0d90a33f83606133e2883e66c83eb932c7faaa31 (patch) | |
tree | a2f1065eada3679005c0f4b4e7cb73133bab9812 | |
parent | b6e0ae791f7dd672902ab59daaecb69e327ba73b (diff) | |
download | gnunet-0d90a33f83606133e2883e66c83eb932c7faaa31.tar.gz gnunet-0d90a33f83606133e2883e66c83eb932c7faaa31.zip |
fix assertion
-rw-r--r-- | src/transport/test_transport_api.c | 2 |
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, | |||
162 | GNUNET_free (ps); | 162 | GNUNET_free (ps); |
163 | 163 | ||
164 | if ((MTYPE == ntohs (message->type)) && | 164 | if ((MTYPE == ntohs (message->type)) && |
165 | (sizeof (struct GNUNET_MessageHeader) == ntohs (message->size))) | 165 | (MSIZE == ntohs (message->size))) |
166 | { | 166 | { |
167 | ok = 0; | 167 | ok = 0; |
168 | end (); | 168 | end (); |