aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/transport_api.c')
-rw-r--r--src/transport/transport_api.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/transport/transport_api.c b/src/transport/transport_api.c
index d8fb7d520..8dc4c7a42 100644
--- a/src/transport/transport_api.c
+++ b/src/transport/transport_api.c
@@ -497,7 +497,6 @@ demultiplexer (void *cls, const struct GNUNET_MessageHeader *msg)
497 switch (ntohs (msg->type)) 497 switch (ntohs (msg->type))
498 { 498 {
499 case GNUNET_MESSAGE_TYPE_HELLO: 499 case GNUNET_MESSAGE_TYPE_HELLO:
500 case GNUNET_MESSAGE_TYPE_FRIEND_HELLO:
501 if (GNUNET_OK != 500 if (GNUNET_OK !=
502 GNUNET_HELLO_get_id ((const struct GNUNET_HELLO_Message *) msg, &me)) 501 GNUNET_HELLO_get_id ((const struct GNUNET_HELLO_Message *) msg, &me))
503 { 502 {
@@ -1293,8 +1292,7 @@ GNUNET_TRANSPORT_offer_hello (struct GNUNET_TRANSPORT_Handle *handle,
1293 if (NULL == handle->client) 1292 if (NULL == handle->client)
1294 return NULL; 1293 return NULL;
1295 1294
1296 GNUNET_break ((ntohs (hello->type) == GNUNET_MESSAGE_TYPE_HELLO) || 1295 GNUNET_break (ntohs (hello->type) == GNUNET_MESSAGE_TYPE_HELLO);
1297 (ntohs (hello->type) == GNUNET_MESSAGE_TYPE_FRIEND_HELLO));
1298 size = ntohs (hello->size); 1296 size = ntohs (hello->size);
1299 GNUNET_break (size >= sizeof (struct GNUNET_MessageHeader)); 1297 GNUNET_break (size >= sizeof (struct GNUNET_MessageHeader));
1300 if (GNUNET_OK != 1298 if (GNUNET_OK !=