[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r16022 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r16022 - gnunet/src/transport |
Date: |
Fri, 15 Jul 2011 16:01:15 +0200 |
Author: grothoff
Date: 2011-07-15 16:01:15 +0200 (Fri, 15 Jul 2011)
New Revision: 16022
Modified:
gnunet/src/transport/gnunet-service-transport.c
Log:
fix
Modified: gnunet/src/transport/gnunet-service-transport.c
===================================================================
--- gnunet/src/transport/gnunet-service-transport.c 2011-07-15 14:00:31 UTC
(rev 16021)
+++ gnunet/src/transport/gnunet-service-transport.c 2011-07-15 14:01:15 UTC
(rev 16022)
@@ -2659,10 +2659,7 @@
ats_count = 2;
size = sizeof (struct ConnectInfoMessage) + ats_count * sizeof (struct
GNUNET_TRANSPORT_ATS_Information);
- if (size > GNUNET_SERVER_MAX_MESSAGE_SIZE)
- {
- GNUNET_break(0);
- }
+ GNUNET_assert (size < GNUNET_SERVER_MAX_MESSAGE_SIZE);
cim = GNUNET_malloc (size);
cim->header.size = htons (size);
cim->header.type = htons (GNUNET_MESSAGE_TYPE_TRANSPORT_CONNECT);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r16022 - gnunet/src/transport,
gnunet <=