From 4f4182f72a4148de7576e27f9545b8f6ca9a5728 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 13 Aug 2013 22:47:27 +0000 Subject: [PATCH] -dead code elimination --- src/core/gnunet-service-core_clients.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/core/gnunet-service-core_clients.c b/src/core/gnunet-service-core_clients.c index db72f147a..63c3b79be 100644 --- a/src/core/gnunet-service-core_clients.c +++ b/src/core/gnunet-service-core_clients.c @@ -722,13 +722,6 @@ GSC_CLIENTS_notify_client_about_neighbour (struct GSC_Client *client, NULL, GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY)); size = sizeof (struct ConnectNotifyMessage); - if (size >= GNUNET_SERVER_MAX_MESSAGE_SIZE) - { - GNUNET_break (0); - /* recovery strategy: throw away performance data */ - atsi_count = 0; - size = sizeof (struct ConnectNotifyMessage); - } cnm = (struct ConnectNotifyMessage *) buf; cnm->header.size = htons (size); cnm->header.type = htons (GNUNET_MESSAGE_TYPE_CORE_NOTIFY_CONNECT); -- 2.25.1