struct TransportPlugin *tp;
struct ReadyList *rl;
- if (0 == memcmp (peer,
- &my_identity,
- sizeof (struct GNUNET_PeerIdentity)))
- {
- /* refusing to setup a neighbour entry for myself */
- GNUNET_break (0);
- return NULL;
- }
+ GNUNET_assert (0 != memcmp (peer,
+ &my_identity,
+ sizeof (struct GNUNET_PeerIdentity)));
#if DEBUG_TRANSPORT
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Setting up state for neighbour `%4s'\n",
#if DEBUG_TCP_NAT
GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG,
"tcp",
- "received tcp NAT probe\n");
+ "received NAT probe\n");
#endif
/* We have received a TCP NAT probe, meaning we (hopefully) initiated
* a connection to this peer by running gnunet-nat-client. This peer
{
#if DEBUG_TCP
GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR,
- "tcp",
+ "tcp",
"Not notifying transport of address `%s' (local address)\n",
GNUNET_a2s (addr, addrlen));
#endif