[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r13194 - gnunet/src/dht
From: |
gnunet |
Subject: |
[GNUnet-SVN] r13194 - gnunet/src/dht |
Date: |
Thu, 7 Oct 2010 10:25:44 +0200 |
Author: nevans
Date: 2010-10-07 10:25:44 +0200 (Thu, 07 Oct 2010)
New Revision: 13194
Modified:
gnunet/src/dht/dht_api.c
gnunet/src/dht/gnunet-service-dht.c
Log:
typo, continuations for dht operations use continuation instead of being
default scheduled (GNUNET_SCHEDULER_REASON_TIMEOUT indicates error)
Modified: gnunet/src/dht/dht_api.c
===================================================================
--- gnunet/src/dht/dht_api.c 2010-10-07 08:22:06 UTC (rev 13193)
+++ gnunet/src/dht/dht_api.c 2010-10-07 08:25:44 UTC (rev 13194)
@@ -365,9 +365,10 @@
}
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;
}
@@ -602,7 +603,7 @@
-/* ***** Special low-level API providing generic routeing abstraction ***** */
+/* ***** Special low-level API providing generic routing abstraction ***** */
/**
Modified: gnunet/src/dht/gnunet-service-dht.c
===================================================================
--- gnunet/src/dht/gnunet-service-dht.c 2010-10-07 08:22:06 UTC (rev 13193)
+++ gnunet/src/dht/gnunet-service-dht.c 2010-10-07 08:25:44 UTC (rev 13194)
@@ -2702,7 +2702,7 @@
* 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r13194 - gnunet/src/dht,
gnunet <=