switch (ntohs (msg->type))
{
case GNUNET_MESSAGE_TYPE_HELLO:
- case GNUNET_MESSAGE_TYPE_FRIEND_HELLO:
if (GNUNET_OK !=
GNUNET_HELLO_get_id ((const struct GNUNET_HELLO_Message *) msg, &me))
{
if (NULL != tch->cb)
tch->cb (tch->cb_cls, GNUNET_SYSERR);
GNUNET_CONTAINER_DLL_remove (tch->th->tc_head, tch->th->tc_tail, tch);
+ LOG (GNUNET_ERROR_TYPE_DEBUG,
+ "Discarding `%s' request to `%4s' due to error in transport service connection.\n", "REQUEST_CONNECT",
+ GNUNET_i2s (&tch->pid));
GNUNET_free (tch);
return 0;
}
if (NULL == handle->client)
return NULL;
- GNUNET_break ((ntohs (hello->type) == GNUNET_MESSAGE_TYPE_HELLO) ||
- (ntohs (hello->type) == GNUNET_MESSAGE_TYPE_FRIEND_HELLO));
+ GNUNET_break (ntohs (hello->type) == GNUNET_MESSAGE_TYPE_HELLO);
size = ntohs (hello->size);
GNUNET_break (size >= sizeof (struct GNUNET_MessageHeader));
if (GNUNET_OK !=