typo, continuations for dht operations use continuation instead of being default...
authorNathan S. Evans <evans@in.tum.de>
Thu, 7 Oct 2010 08:25:44 +0000 (08:25 +0000)
committerNathan S. Evans <evans@in.tum.de>
Thu, 7 Oct 2010 08:25:44 +0000 (08:25 +0000)
src/dht/dht_api.c
src/dht/gnunet-service-dht.c

index d7c05684caeea82fbe9db2cf381d23230543723e..561aa0a778540e7f36d14065336273eb79f550ef 100644 (file)
@@ -365,9 +365,10 @@ transmit_pending (void *cls,
     }
   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 @@ GNUNET_DHT_disconnect (struct GNUNET_DHT_Handle *handle)
 
 
 
-/* ***** Special low-level API providing generic routeing abstraction ***** */
+/* ***** Special low-level API providing generic routing abstraction ***** */
 
 
 /**
index d216be67d0575974545854df429a005012741740..403f0dfcc2f9530ec68c24632bde821da0401a96 100644 (file)
@@ -2702,7 +2702,7 @@ handle_dht_put (void *cls,
  * 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