diff options
Diffstat (limited to 'src/cadet')
-rw-r--r-- | src/cadet/gnunet-service-cadet_tunnel.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cadet/gnunet-service-cadet_tunnel.c b/src/cadet/gnunet-service-cadet_tunnel.c index 7c420843e..f1cbad63c 100644 --- a/src/cadet/gnunet-service-cadet_tunnel.c +++ b/src/cadet/gnunet-service-cadet_tunnel.c | |||
@@ -2184,8 +2184,10 @@ GCT_init (const struct GNUNET_CONFIGURATION_Handle *c, | |||
2184 | 2184 | ||
2185 | LOG (GNUNET_ERROR_TYPE_DEBUG, "init\n"); | 2185 | LOG (GNUNET_ERROR_TYPE_DEBUG, "init\n"); |
2186 | 2186 | ||
2187 | expected_overhead = | 2187 | expected_overhead = 0; |
2188 | sizeof (struct GNUNET_CADET_Encrypted) + sizeof (struct GNUNET_CADET_Data); | 2188 | expected_overhead += sizeof (struct GNUNET_CADET_Encrypted); |
2189 | expected_overhead += sizeof (struct GNUNET_CADET_Data); | ||
2190 | expected_overhead += sizeof (struct GNUNET_CADET_ACK); | ||
2189 | GNUNET_assert (GNUNET_CONSTANTS_CADET_P2P_OVERHEAD == expected_overhead); | 2191 | GNUNET_assert (GNUNET_CONSTANTS_CADET_P2P_OVERHEAD == expected_overhead); |
2190 | 2192 | ||
2191 | if (GNUNET_OK != | 2193 | if (GNUNET_OK != |