aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/gnunet-service-core_clients.c7
1 files changed, 0 insertions, 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,
722 NULL, 722 NULL,
723 GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY)); 723 GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY));
724 size = sizeof (struct ConnectNotifyMessage); 724 size = sizeof (struct ConnectNotifyMessage);
725 if (size >= GNUNET_SERVER_MAX_MESSAGE_SIZE)
726 {
727 GNUNET_break (0);
728 /* recovery strategy: throw away performance data */
729 atsi_count = 0;
730 size = sizeof (struct ConnectNotifyMessage);
731 }
732 cnm = (struct ConnectNotifyMessage *) buf; 725 cnm = (struct ConnectNotifyMessage *) buf;
733 cnm->header.size = htons (size); 726 cnm->header.size = htons (size);
734 cnm->header.type = htons (GNUNET_MESSAGE_TYPE_CORE_NOTIFY_CONNECT); 727 cnm->header.type = htons (GNUNET_MESSAGE_TYPE_CORE_NOTIFY_CONNECT);