}
if (NULL != head->cont)
{
- GNUNET_SCHEDULER_add_now (handle->sched,
- head->cont,
- head->cont_cls);
+ GNUNET_SCHEDULER_add_continuation (handle->sched,
+ head->cont,
+ head->cont_cls,
+ GNUNET_SCHEDULER_REASON_PREREQ_DONE);
head->cont = NULL;
head->cont_cls = NULL;
}
-/* ***** Special low-level API providing generic routeing abstraction ***** */
+/* ***** Special low-level API providing generic routing abstraction ***** */
/**
* at each hop we expect to get one bit closer, and
* we have one bit per bucket, the number of buckets
* in use should be the largest number of hops for
- * a sucessful message. (of course, this assumes we
+ * a successful message. (of course, this assumes we
* know all peers in the network!)
*
* @return ballpark diameter figure