/**
* fresh peer or completely disconnected
*/
- S_NOT_CONNECTED,
+ S_NOT_CONNECTED = 0,
/**
* Asked to initiate connection, trying to get address from ATS
}
if ((NULL == n->primary_address.session) && (NULL == n->primary_address.address))
{
+ GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+ "GST_neighbours_sent called in state %d\n",
+ n->state);
GNUNET_break (0);
if (NULL != cont)
cont (cont_cls, GNUNET_SYSERR);
GNUNET_SERVER_client_get_address (client, &vaddr, &alen);
LOG (GNUNET_ERROR_TYPE_ERROR,
- "Received unexpected %u bytes of type %u from `%s'\n",
- (unsigned int) ntohs (message->size),
- (unsigned int) ntohs (message->type),
- GNUNET_a2s(vaddr, alen));
+ "Received unexpected %u bytes of type %u from `%s'\n",
+ (unsigned int) ntohs (message->size),
+ (unsigned int) ntohs (message->type),
+ GNUNET_a2s(vaddr, alen));
GNUNET_break_op (0);
GNUNET_SERVER_receive_done (client, GNUNET_SYSERR);
GNUNET_free_non_null(vaddr);