GNUNET_SCHEDULER_cancel (ic->timeout_task);
if (ic->callback != NULL)
ic->callback (ic->callback_cls, NULL, NULL,
- _("Received invalid message from `PEERINFO' service.\n"));
+ _("Received invalid message from `PEERINFO' service."));
GNUNET_free (ic);
return;
}
GNUNET_SCHEDULER_cancel (ic->timeout_task);
if (ic->callback != NULL)
ic->callback (ic->callback_cls, NULL, NULL,
- _("Received invalid message from `PEERINFO' service.\n"));
+ _("Received invalid message from `PEERINFO' service."));
GNUNET_free (ic);
return;
}
reconnect (ic->h);
ic->callback (ic->callback_cls, NULL, NULL,
_
- ("Timeout transmitting iteration request to `PEERINFO' service.\n"));
+ ("Timeout transmitting iteration request to `PEERINFO' service."));
ic->callback = NULL;
GNUNET_free_non_null (ic->tqe);
GNUNET_free (ic);
ic->timeout = GNUNET_TIME_relative_to_absolute (timeout);
ic->timeout_task =
GNUNET_SCHEDULER_add_delayed (timeout, &signal_timeout, ic);
- tqe->timeout = ic->timeout;
+ tqe->timeout = GNUNET_TIME_UNIT_FOREVER_ABS;
tqe->cont = &iterator_start_receive;
tqe->cont_cls = ic;
- tqe->timeout = ic->timeout;
GNUNET_CONTAINER_DLL_insert_after (h->tq_head, h->tq_tail, h->tq_tail, tqe);
trigger_transmit (h);
return ic;